mirror of
https://github.com/golang/go
synced 2024-11-19 20:54:39 -07:00
os: adjust test: /bin is a symlink, not a directory, on Solaris.
R=rsc CC=golang-dev https://golang.org/cl/4239066
This commit is contained in:
parent
6892155ded
commit
89930bda9d
@ -614,7 +614,7 @@ func TestChdirAndGetwd(t *testing.T) {
|
||||
}
|
||||
// These are chosen carefully not to be symlinks on a Mac
|
||||
// (unlike, say, /var, /etc, and /tmp).
|
||||
dirs := []string{"/bin", "/", "/usr/bin"}
|
||||
dirs := []string{"/", "/usr/bin"}
|
||||
for mode := 0; mode < 2; mode++ {
|
||||
for _, d := range dirs {
|
||||
if mode == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user