diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-11-12 14:55:42 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-11-12 20:54:41 +0000 |
commit | a3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708 (patch) | |
tree | 24c1a3c6f5d5629227a52a19c9f6a12f7aaae1ce /src/cmd/go/testdata/script/README | |
parent | 4d0ed149ffc94af16156307f08418b65ca084185 (diff) | |
download | go-a3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708.tar.gz go-a3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708.zip |
cmd/go: convert TestCacheVet to a script
This test was failing when GOROOT was read-only.
(I'm not sure why that was the case, but it's simpler to convert to to
a script than to try to debug the non-script test.)
Updates #28387
Change-Id: I9943e28d990e5d8b01da10e70531f3ab99e319a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/206897
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/go/testdata/script/README')
-rw-r--r-- | src/cmd/go/testdata/script/README | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/README b/src/cmd/go/testdata/script/README index ec886b18a1..1fd9639b6c 100644 --- a/src/cmd/go/testdata/script/README +++ b/src/cmd/go/testdata/script/README @@ -77,6 +77,7 @@ should only run when the condition is satisfied. The available conditions are: - [root] for os.Geteuid() == 0 - [symlink] for testenv.HasSymlink() - [exec:prog] for whether prog is available for execution (found by exec.LookPath) + - [GODEBUG:value] for whether value is one of the comma-separated entries in the GODEBUG variable A condition can be negated: [!short] means to run the rest of the line when testing.Short() is false. Multiple conditions may be given for a single |