From: Rob Pike Date: Thu, 16 Jul 2009 04:28:08 +0000 (-0700) Subject: /usr/local/bin might not exist so use /usr/bin in the chdir test. X-Git-Tag: weekly.2009-11-06~1128 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7d94cfdfb930175d403d4a9abfc3ec28262650a3;p=gostls13.git /usr/local/bin might not exist so use /usr/bin in the chdir test. R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31708 CL=31713 --- diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 8b50cb5085..a10a6af72e 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -466,7 +466,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/local/bin" }; + dirs := []string{ "/bin", "/", "/usr/bin" }; for mode := 0; mode < 2; mode++ { for i, d := range dirs { if mode == 0 {