diff options
Diffstat (limited to 'libgo/go/path/filepath/match_test.go')
-rw-r--r-- | libgo/go/path/filepath/match_test.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libgo/go/path/filepath/match_test.go b/libgo/go/path/filepath/match_test.go index 9886620ade0..c29f93fb7bb 100644 --- a/libgo/go/path/filepath/match_test.go +++ b/libgo/go/path/filepath/match_test.go @@ -168,8 +168,13 @@ var globSymlinkTests = []struct { func TestGlobSymlink(t *testing.T) { switch runtime.GOOS { - case "nacl", "plan9", "windows": + case "nacl", "plan9": t.Skipf("skipping on %s", runtime.GOOS) + case "windows": + if !supportsSymlinks { + t.Skipf("skipping on %s", runtime.GOOS) + } + } tmpDir, err := ioutil.TempDir("", "globsymlink") |