From 7d94cfdfb930175d403d4a9abfc3ec28262650a3 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 15 Jul 2009 21:28:08 -0700 Subject: [PATCH] /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 --- 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 8b50cb50856..a10a6af72e9 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 {