aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path/filepath
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-03-18 10:19:19 +1100
committerAlex Brainman <alex.brainman@gmail.com>2011-03-18 10:19:19 +1100
commitbf91e827ac08ba3375353108840d641c5a581865 (patch)
tree7e6333832e6b50493debe17aa58d37c2dd926a3c /src/pkg/path/filepath
parent39a1465d11506409902c21d25a7bc616d5e954a4 (diff)
downloadgo-bf91e827ac08ba3375353108840d641c5a581865.tar.xz
filepath: do not run TestEvalSymlinks on Windows
R=golang-dev, rsc1 CC=adg, golang-dev https://golang.org/cl/4274069
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 e07b6b0c6f..5c891dee62 100644
--- a/src/pkg/path/filepath/path_test.go
+++ b/src/pkg/path/filepath/path_test.go
@@ -440,6 +440,10 @@ var EvalSymlinksTests = []EvalSymlinksTest{
}
func TestEvalSymlinks(t *testing.T) {
+ // Symlinks are not supported under windows.
+ if runtime.GOOS == "windows" {
+ return
+ }
defer os.RemoveAll("test")
for _, d := range EvalSymlinksTestDirs {
var err os.Error