Commit 6f97ef28 authored by David du Colombier's avatar David du Colombier

os: disable TestReaddirStatFailures on Plan 9

R=rsc, dave, aram, jeremyjackins, lucio.dere
CC=golang-codereviews, jas
https://golang.org/cl/50980043
parent f40dd8f1
...@@ -396,11 +396,12 @@ func touch(t *testing.T, name string) { ...@@ -396,11 +396,12 @@ func touch(t *testing.T, name string) {
} }
func TestReaddirStatFailures(t *testing.T) { func TestReaddirStatFailures(t *testing.T) {
if runtime.GOOS == "windows" { switch runtime.GOOS {
// Windows already does this correctly, but is case "windows", "plan9":
// structured with different syscalls such that it // Windows and Plan 9 already do this correctly,
// doesn't use Lstat, so the hook below for testing it // but are structured with different syscalls such
// wouldn't work. // that they don't use Lstat, so the hook below for
// testing it wouldn't work.
t.Skipf("skipping test on %v", runtime.GOOS) t.Skipf("skipping test on %v", runtime.GOOS)
} }
dir, err := ioutil.TempDir("", "") dir, err := ioutil.TempDir("", "")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment