]> Cypherpunks repositories - gostls13.git/commitdiff
/usr/local/bin might not exist so use /usr/bin in the chdir test.
authorRob Pike <r@golang.org>
Thu, 16 Jul 2009 04:28:08 +0000 (21:28 -0700)
committerRob Pike <r@golang.org>
Thu, 16 Jul 2009 04:28:08 +0000 (21:28 -0700)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=31708
CL=31713

src/pkg/os/os_test.go

index 8b50cb50856a5b8c0669aa5eb260fcc0962dd6b5..a10a6af72e9771b493f336905cc7c4a974c93b61 100644 (file)
@@ -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 {