GNU bug report logs -
#42536
28.0.50; Test vc-test-svn00-create-repo failing if snvadmin program not installed
Previous Next
Reported by: Philipp <p.stephani2 <at> gmail.com>
Date: Sat, 25 Jul 2020 18:44:02 UTC
Severity: normal
Tags: fixed
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 42536 <at> debbugs.gnu.org (full text, mbox):
Philipp <p.stephani2 <at> gmail.com> writes:
> This is another follow-up to Bug#30700. In this case, it's probably
> unrelated to macOS, and the SVN tests should simply check whether SVN is
> actually installed. However, since the tests are autogenerated by a
> macro, this isn't entirely trivial:
>
> Test vc-test-svn00-create-repo backtrace:
> call-process("svnadmin" nil t nil "create" "SVN")
Hm... I don't have svn on my Linux laptop either, and the svn tests are
just not done there. So why are they performed on an svn-less Macos
laptop?
Aaah!
larsi <at> space test % svn
svn: error: The subversion command line tools are no longer provided by Xcode.
So
(defun vc-test--svn-enabled ()
(executable-find vc-svn-program))
evaluates to true, even if there's no useable svn on the system. Thank
you, Apple!
I've now amended the test to check for svnadmin, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.