]> Cypherpunks repositories - gostls13.git/commit
cmd/go: check for 'svn' binary in PATH in TestAccidentalGitCheckout
authorzikaeroh <zikaeroh@gmail.com>
Thu, 12 Mar 2020 00:17:57 +0000 (17:17 -0700)
committerBryan C. Mills <bcmills@google.com>
Fri, 13 Mar 2020 13:52:49 +0000 (13:52 +0000)
commitc6bcdeafd2a2f11373dec9a82fccc75d332cd0cc
treea3d558ba6638ddf9fd8164c7b43a1d4edb9fb1dc
parent9d67a94217c0a46a2b02a1fc67bb3e436dac0c97
cmd/go: check for 'svn' binary in PATH in TestAccidentalGitCheckout

This test requires subversion to run, but does not check to see if it's
available before running as it does for git.

Call testenv.MustHaveExecPath to check beforehand to allow the test to
be skipped if the svn binary does not exist.

Change-Id: I16ae104621b221fc6e96f6c7dcd71bf406caa0c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/223082
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go