-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Closed
Copy link
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Plan9TestingAn issue that has been verified to require only test changes, not just a test failure.An issue that has been verified to require only test changes, not just a test failure.
Milestone
Description
$ go version go version devel +master Sun Jun 14 23:36:00 EDT 2020 plan9/amd64
% cd src
% ./all.rc
...
--- FAIL: TestScript (0.05s)
--- FAIL: TestScript/mod_gomodcache (7.47s)
script_test.go:210:
# Test GOMODCACHE (0.000s)
# Explicitly set GOMODCACHE (3.183s)
# Ensure GOMODCACHE doesn't affect location of sumdb, but $GOMODCACHE/cache/download/sumdb is still written (0.001s)
# Test that the default GOMODCACHE is $GOPATH[0]/pkg/mod (3.160s)
# If neither GOMODCACHE or GOPATH are set, GOPATH defaults to the user's $HOME/go, so GOMODCACHE becomes $HOME/go/pkg/mod (0.993s)
> [windows] env USERPROFILE=$WORK/home # Ensure USERPROFILE is a valid path (rather than /no-home/ so we don't run into the logic that "uninfers" GOPATH in cmd/go/main.go
> [!windows] env HOME=$WORK/home
> env GOMODCACHE=
> env GOPATH=
> go env GOMODCACHE
[stdout]
/no-home/go/pkg/mod
> stdout $HOME[/\\]go[/\\]pkg[/\\]mod
FAIL: testdata/script/mod_gomodcache.txt:31: no match for `(?m)\$WORK/home[/\\]go[/\\]pkg[/\\]mod` found in stdout
--- FAIL: TestScript/generate_env (6.77s)
script_test.go:210:
# Install an env command because Windows and plan9 don't have it. (5.694s)
# Test generators have access to the environment (1.037s)
> go generate ./printenv.go
[stderr]
printenv.go:3: running "env": exec: "env": executable file not found in $path
[exit status: 'go 77512: 1']
FAIL: testdata/script/generate_env.txt:7: unexpected command failure
...
@gopherbot add labels OS-Plan9, Testing
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Plan9TestingAn issue that has been verified to require only test changes, not just a test failure.An issue that has been verified to require only test changes, not just a test failure.