-
Notifications
You must be signed in to change notification settings - Fork 18k
path/filepath --- FAIL: TestEvalSymlinks #2787
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
Labels
Milestone
Comments
This was the output Blake got when he was running all the tests after making some database/sql changes. I saw the output and was said, "That's not your fault, but file a bug... that shouldn't happen." So http://code.google.com/p/go/source/detail?r=2b2b2f24c makes the failure prettier, but it's not clear why the test failed for him in the first place. (on OS X Lion) |
This test is running mkdir test in the current directory and assuming that directory is src/pkg/path/filepath. That's not true. Why isn't it always failing? Also, this is bogus: goroot, err := filepath.EvalSymlinks(os.Getenv("GOROOT")) if err != nil { t.Fatalf("EvalSymlinks(%q) error: %v", os.Getenv("GOROOT"), err) } os.Getenv("GOROOT") can return "" and clearly did in the transcript above. Very sketchy test. Should probably just write a new one from scratch. |
Owner changed to @robpike. Status changed to Started. |
This issue was closed by revision 97ef437. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by blake.mizerany:
The text was updated successfully, but these errors were encountered: