From 7c7d58f45463edf13f97f6b2496c5edc901ede45 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 29 Aug 2021 21:56:22 +0200 Subject: [PATCH] Fix vc test for RCS * test/lisp/vc/vc-tests.el (vc-test--rename-file): Fix test for RCS. --- test/lisp/vc/vc-tests.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2