]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: do not check for a built binary in TestScript/mod_get_fossil
authorBryan C. Mills <bcmills@google.com>
Tue, 5 Oct 2021 20:11:17 +0000 (16:11 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 5 Oct 2021 20:52:58 +0000 (20:52 +0000)
This test hasn't passed since CL 349997, but the failure was not
detected because the Go project's builders do not have a 'fossil'
binary installed (#48802).

For #43684

Change-Id: I25544574ab48f4f146ae3795e541179e78815758
Reviewed-on: https://go-review.googlesource.com/c/go/+/354149
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>

src/cmd/go/testdata/script/mod_get_fossil.txt

index baad544557af8861bed6a0ab30d4126678a2bd8c..c2d42f0f596f4a01b0077a54aa515b9fba1f4f68 100644 (file)
@@ -18,11 +18,10 @@ env GOSUMDB=off
 env USER=fossiluser
 env FOSSIL_HOME=$WORK/home
 
-# Attempting to get the latest version of a fossil repo.
+# Attempt to get the latest version of a fossil repo.
 go get vcs-test.golang.org/fossil/hello.fossil
 ! stderr 'unexpected response from fossil info'
 grep 'vcs-test.golang.org/fossil/hello.fossil' go.mod
-exists $GOPATH/bin/hello.fossil$GOEXE
 
 -- go.mod --
 module x