]> Cypherpunks repositories - gostls13.git/commit
os: fix TestProgWideChdir on darwin
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 13 Apr 2015 03:11:00 +0000 (12:11 +0900)
committerDavid Crawshaw <crawshaw@golang.org>
Mon, 13 Apr 2015 22:26:15 +0000 (22:26 +0000)
commit3cbe7ea7e9de8547699537e78b76cfbc119e485d
treec8fe5a57ed48fa0004035027a91c4b35d5648bd1
parentd1eee2cebf47816f53132d86ef6f3850fa22eefd
os: fix TestProgWideChdir on darwin

On darwin, /tmp and /var directories are usually linked to /private.

% cd $TMPDIR; pwd -L
/var/.../T
% pwd -P
/private/var/.../T

Change-Id: I277ff2d096344d9a80e6004a83e9fc3e1716348c
Reviewed-on: https://go-review.googlesource.com/8842
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/os/os_test.go