From 89930bda9dcda11d1c4a09f18894efc7cc071a8d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 7 Mar 2011 15:30:51 -0800 Subject: [PATCH] os: adjust test: /bin is a symlink, not a directory, on Solaris. R=rsc CC=golang-dev https://golang.org/cl/4239066 --- src/pkg/os/os_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 2ea8acdc43..b45546c8a2 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -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 {