aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path/filepath
diff options
context:
space:
mode:
authorChristopher Nielsen <m4dh4tt3r@gmail.com>2013-05-24 11:01:04 -0700
committerRob Pike <r@golang.org>2013-05-24 11:01:04 -0700
commitee78a707c07123cd50e0c56880e04ae8a5069319 (patch)
tree8c70ca1b47bafcf31837c7cfe10ffc45ec716121 /src/pkg/path/filepath
parentaf48543c5458086435c92f63677723217900c1b5 (diff)
downloadgo-ee78a707c07123cd50e0c56880e04ae8a5069319.tar.xz
path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks.
R=golang-dev, r CC=golang-dev https://golang.org/cl/9713044
Diffstat (limited to 'src/pkg/path/filepath')
-rw-r--r--src/pkg/path/filepath/path_test.go4
1 files changed, 4 insertions, 0 deletions
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)