]> Cypherpunks repositories - gostls13.git/commitdiff
path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks.
authorChristopher Nielsen <m4dh4tt3r@gmail.com>
Fri, 24 May 2013 18:01:04 +0000 (11:01 -0700)
committerRob Pike <r@golang.org>
Fri, 24 May 2013 18:01:04 +0000 (11:01 -0700)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9713044

src/pkg/path/filepath/path_test.go

index c4d73602ff823bef726a791bfbe8d40434a76a43..b1cdcee4ced80aaab3f710126819693c9cbe5c7d 100644 (file)
@@ -630,6 +630,10 @@ func simpleJoin(dir, path string) string {
 }
 
 func TestEvalSymlinks(t *testing.T) {
+       if runtime.GOOS == "plan9" {
+               t.Skip("Skipping test: symlinks don't exist under Plan 9")
+       }
+
        tmpDir, err := ioutil.TempDir("", "evalsymlink")
        if err != nil {
                t.Fatal("creating temp dir:", err)