1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

Fix svn tests on Macos

* test/lisp/vc/vc-tests.el (vc-test--svn-enabled): Macos machines
may have a dummy svn program that helpfully just outputs "There's
no svn program here", so also test for the svnadmin program
(bug#42536).
This commit is contained in:
Lars Ingebrigtsen 2020-08-04 14:48:33 +02:00
parent 934585a649
commit a3c870d7e2

View File

@ -554,7 +554,8 @@ This checks also `vc-backend' and `vc-responsible-backend'."
(defvar vc-svn-program)
(defun vc-test--svn-enabled ()
(executable-find vc-svn-program))
(and (executable-find "svnadmin")
(executable-find vc-svn-program)))
(defun vc-test--sccs-enabled ()
(executable-find "sccs"))