-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
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
cmd/go: '$/' is an invalid environment variable name on plan 9 #53671
Comments
Removing setting the environment variable fixes some of the script tests, but others fail with a missing path separator in paths. Currently, I'm having trouble finding where $/ is getting used to create the paths. |
CC @bcmills I see Perhaps we should just omit |
Got it, I swapped the generated/golden output when I was reading it, and was looking for a place $/ was used in the go commands to generate the paths. Need to run some tests, but patch on the way. |
Change https://go.dev/cl/415681 mentions this issue: |
For some context, the testscript fork of With the caveat that we want to keep |
@oridb, I'm trying to better understand the nature of the problem. For example, should |
Change https://go.dev/cl/416554 mentions this issue: |
…ess environments Also simplify platform-dependent handling of the PATH variable, to make it more like the existing platform-dependent handling for HOME and TMPDIR. Fixes golang#53671. Change-Id: Ica2665d3f61988c66fb6982b9feb61ca48eced79 Reviewed-on: https://go-review.googlesource.com/c/go/+/416554 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
When running the tests on plan 9, there are currently a number of failures when attempting to set
the environment, with the message:
This is because src/cmd/go/script_test.go atempts to set '$/' to indicate the path separator.
What version of Go are you using (
go version
)?commit e822b1e
Does this issue reproduce with the latest release?
The issue was added with commit 742dcba
What operating system and processor architecture are you using (
go env
)?Plan 9 (9front, amd64)
go env
OutputWhat did you do?
./run.rc
What did you expect to see?
More tests passing than I did
What did you see instead?
script_test.go failing with
The text was updated successfully, but these errors were encountered: