From: Lars Ingebrigtsen Date: Sun, 29 Aug 2021 19:56:22 +0000 (+0200) Subject: Fix vc test for RCS X-Git-Tag: emacs-28.0.90~1267 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c7d58f45463edf13f97f6b2496c5edc901ede45;p=emacs.git Fix vc test for RCS * test/lisp/vc/vc-tests.el (vc-test--rename-file): Fix test for RCS. --- diff --git a/test/lisp/vc/vc-tests.el b/test/lisp/vc/vc-tests.el index dbb8a9e3d12..f2807a3f063 100644 --- a/test/lisp/vc/vc-tests.el +++ b/test/lisp/vc/vc-tests.el @@ -588,7 +588,10 @@ This checks also `vc-backend' and `vc-responsible-backend'." (should (not (file-exists-p tmp-name))) (should (file-exists-p new-name)) - (should (equal (vc-state new-name) 'added)))) + (should (equal (vc-state new-name) + (if (eq backend 'RCS) + 'up-to-date + 'added))))) ;; Save exit. (ignore-errors