]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix TestScript/version_buildvcs_git_gpg
authorBryan C. Mills <bcmills@google.com>
Fri, 14 Jan 2022 16:15:28 +0000 (11:15 -0500)
committerBryan Mills <bcmills@google.com>
Wed, 19 Jan 2022 14:29:17 +0000 (14:29 +0000)
This test was missed in CL 358539, presumably because the 'longtest'
builders lack a 'gpg' executable.

Updates #49168
Fixes #50675

Change-Id: Ie3bfc761a5e4304531119625742f3def9df8af3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/378575
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/testdata/script/version_buildvcs_git_gpg.txt

index 6d429c5a52f506c94f3c97e508474cb3e5c6bf01..dcf97d7c447f5b5d67c9321ff3ed15333122f1fb 100644 (file)
@@ -34,9 +34,9 @@ exec git log
 # Verify commit signature does not interfere with versioning
 go install
 go version -m $GOBIN/a
-stdout '^\tbuild\tgitrevision\t'
-stdout '^\tbuild\tgitcommittime\t'
-stdout '^\tbuild\tgituncommitted\tfalse$'
+stdout '^\tbuild\tvcs\.revision='
+stdout '^\tbuild\tvcs\.time='
+stdout '^\tbuild\tvcs\.modified=false$'
 
 -- repo/README --
 Far out in the uncharted backwaters of the unfashionable end of the western