From: Christopher Nielsen Date: Fri, 24 May 2013 18:01:04 +0000 (-0700) Subject: path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks. X-Git-Tag: go1.2rc2~1414 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ee78a707c07123cd50e0c56880e04ae8a5069319;p=gostls13.git path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks. R=golang-dev, r CC=golang-dev https://golang.org/cl/9713044 --- diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go index c4d73602ff..b1cdcee4ce 100644 --- a/src/pkg/path/filepath/path_test.go +++ b/src/pkg/path/filepath/path_test.go @@ -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)