You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7 beta 2
What operating system and processor architecture are you using (go env)?
Linux.
What did you do?
Ran the tests under a new-ish version of sbuild, which prevents writing to $HOME by setting it to /sbuild-nonexistent.
What did you expect to see?
The tests pass.
What did you see instead?
They failed like this:
--- FAIL: TestCgoPprof (1.39s)
crash_cgo_test.go:256: failed to access temp dir /sbuild-nonexistent/pprof: mkdir /sbuild-nonexistent: permission denied
crash_cgo_test.go:258: exit status 1
There a few ways this could be fixed I guess (only create that directory when it is about to be written into?) but the simplest would I think be to set PPROF_TMPDIR to TMPDIR (or /tmp) in the tests.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
go version
)?1.7 beta 2
go env
)?Linux.
Ran the tests under a new-ish version of sbuild, which prevents writing to $HOME by setting it to /sbuild-nonexistent.
The tests pass.
They failed like this:
There a few ways this could be fixed I guess (only create that directory when it is about to be written into?) but the simplest would I think be to set PPROF_TMPDIR to TMPDIR (or /tmp) in the tests.
The text was updated successfully, but these errors were encountered: