diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2011-03-18 10:19:19 +1100 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2011-03-18 10:19:19 +1100 |
| commit | bf91e827ac08ba3375353108840d641c5a581865 (patch) | |
| tree | 7e6333832e6b50493debe17aa58d37c2dd926a3c /src/pkg/path | |
| parent | 39a1465d11506409902c21d25a7bc616d5e954a4 (diff) | |
| download | go-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')
| -rw-r--r-- | src/pkg/path/filepath/path_test.go | 4 |
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 |
