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
Contributor

@crawshaw crawshaw commented Apr 13, 2015

--- 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

This comment has been minimized.

Copy link
Contributor

@davecheney davecheney commented Apr 13, 2015

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

This comment has been minimized.

Copy link
Member

@0intro 0intro commented Apr 13, 2015

Mikio Hara proposed CL 8842 to fix this issue.

@crawshaw

This comment has been minimized.

Copy link
Contributor Author

@crawshaw crawshaw commented Apr 13, 2015

Thanks, I was writing the same CL.

@crawshaw crawshaw assigned mikioh and unassigned crawshaw Apr 13, 2015
@mikioh

This comment has been minimized.

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

This comment has been minimized.

Copy link

@marcopeereboom marcopeereboom commented Apr 15, 2015

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.