[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42536: 28.0.50; Test vc-test-svn00-create-repo failing if snvadmin p
From: |
Philipp Stephani |
Subject: |
bug#42536: 28.0.50; Test vc-test-svn00-create-repo failing if snvadmin program not installed |
Date: |
Tue, 4 Aug 2020 18:29:12 +0200 |
Am Di., 4. Aug. 2020 um 14:49 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> Philipp <p.stephani2@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@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.
>
Thanks, confirmed.