Skip to content
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

os: TestProgWideChdir fails on OS X 10.10 #10435

Closed
crawshaw opened this issue Apr 13, 2015 · 5 comments
Closed

os: TestProgWideChdir fails on OS X 10.10 #10435

crawshaw opened this issue Apr 13, 2015 · 5 comments
Milestone

Comments

@crawshaw
Copy link
Member

--- FAIL: TestProgWideChdir (0.00s)
    os_test.go:1089: Getwd returned "/private/var/folders/2g/gfk3yj9d4318d1x3j8jgkjjw0000gn/T/test083221789" want "/var/folders/2g/gfk3yj9d4318d1x3j8jgkjjw0000gn/T/test083221789"

TMPDIR is set to a path under /var/folders by default, and it looks like OS X 10.10 moved /var with a symlink:

lrwxr-xr-x@ 1 root wheel 11 Oct 9 2014 var -> private/var

The builders do not show this error, presumably because they are running an older version of OS X. The new buildlet (still under construction) should let us run older versions of OS X under a VM, so hopefully we can test for this in the future.

Reported by Marco on golang-nuts.

@davecheney
Copy link
Contributor

Ahh, and we only have 10.6 builders running on the dashboard at the moment.

On Tue, Apr 14, 2015 at 12:42 AM, David Crawshaw notifications@github.com
wrote:

--- FAIL: TestProgWideChdir (0.00s)
os_test.go:1089: Getwd returned "/private/var/folders/2g/gfk3yj9d4318d1x3j8jgkjjw0000gn/T/test083221789" want "/var/folders/2g/gfk3yj9d4318d1x3j8jgkjjw0000gn/T/test083221789"

TMPDIR is set to a path under /var/folders by default, and it looks like
OS X 10.10 moved /var with a symlink:

lrwxr-xr-x@ 1 root wheel 11 Oct 9 2014 var -> private/var

Reported by Marco on golang-nuts.


Reply to this email directly or view it on GitHub
#10435.

@crawshaw crawshaw self-assigned this Apr 13, 2015
@0intro
Copy link
Member

0intro commented Apr 13, 2015

Mikio Hara proposed CL 8842 to fix this issue.

@crawshaw
Copy link
Member Author

Thanks, I was writing the same CL.

@crawshaw crawshaw assigned mikioh and unassigned crawshaw Apr 13, 2015
@mikioh
Copy link
Contributor

mikioh commented Apr 14, 2015

@mikioh mikioh closed this as completed Apr 14, 2015
@mikioh mikioh added this to the Go1.5 milestone Apr 14, 2015
@marcopeereboom
Copy link

Verified. Thanks.

@mikioh mikioh removed their assignment May 27, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants