1
0
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:
Ian Lance Taylor 2011-03-07 15:30:51 -08:00
parent 6892155ded
commit 89930bda9d

View File

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