]> Cypherpunks repositories - gostls13.git/commitdiff
os: adjust test: /bin is a symlink, not a directory, on Solaris.
authorIan Lance Taylor <iant@golang.org>
Mon, 7 Mar 2011 23:30:51 +0000 (15:30 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 7 Mar 2011 23:30:51 +0000 (15:30 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/4239066

src/pkg/os/os_test.go

index 2ea8acdc43003a936bd9eb9b029d17f52b5d002b..b45546c8a2ed9c7e925ceb8bf285f9230d9da21c 100644 (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 {