From ee78a707c07123cd50e0c56880e04ae8a5069319 Mon Sep 17 00:00:00 2001 From: Christopher Nielsen Date: Fri, 24 May 2013 11:01:04 -0700 Subject: [PATCH] path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks. R=golang-dev, r CC=golang-dev https://golang.org/cl/9713044 --- src/pkg/path/filepath/path_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go index c4d73602ff8..b1cdcee4ced 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)