We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CL 129063 changed TestScript/mod_enabled. This test is failing on Plan 9.
--- FAIL: TestScript/mod_enabled (0.78s) script_test.go:151: # GO111MODULE=auto should only trigger outside GOPATH/src (0.318s) # GO111MODULE=on should trigger everywhere (0.255s) # GO111MODULE=off should trigger nowhere (0.097s) # GO111MODULE=auto should ignore and warn about /tmp/go.mod (0.040s) > env GO111MODULE=auto > cp $GOPATH/src/x/y/z/go.mod $WORK/tmp/go.mod > mkdir $WORK/tmp/mydir > cd $WORK/tmp/mydir $WORK/tmp/mydir > go env GOMOD [stdout] $WORK/tmp/go.mod > ! stdout .+ FAIL: testdata/script/mod_enabled.txt:74: unexpected match for `.+` found in stdout: $WORK/tmp/go.mod
See https://build.golang.org/log/23e87570b42c4b5e8358eef55f19a2015e1d1f91
@rsc
The text was updated successfully, but these errors were encountered:
The test is failing because search.InDir doesn't return ".".
This is happening because the os.TempDir function doesn't consider the TMPDIR environment variable on Plan 9, while it's the case on Unix.
Sorry, something went wrong.
Change https://golang.org/cl/129775 mentions this issue: os: handle TMPDIR in TempDir on Plan 9
os: handle TMPDIR in TempDir on Plan 9
0a842d5
No branches or pull requests
CL 129063 changed TestScript/mod_enabled. This test is failing on Plan 9.
See https://build.golang.org/log/23e87570b42c4b5e8358eef55f19a2015e1d1f91
@rsc
The text was updated successfully, but these errors were encountered: