Ver Fonte

webdav: skip TestDir on nacl

Updates golang/go#12004.

Change-Id: Id3c1e543a1fc4d246d04d26302b9da46f199fdee
Reviewed-on: https://go-review.googlesource.com/13055
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Mikio Hara há 10 anos atrás
pai
commit
6ba52e3ed9
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      webdav/file_test.go

+ 4 - 1
webdav/file_test.go

@@ -507,7 +507,10 @@ func testFS(t *testing.T, fs FileSystem) {
 }
 }
 
 
 func TestDir(t *testing.T) {
 func TestDir(t *testing.T) {
-	if runtime.GOOS == "plan9" {
+	switch runtime.GOOS {
+	case "nacl":
+		t.Skip("see golang.org/issue/12004")
+	case "plan9":
 		t.Skip("see golang.org/issue/11453")
 		t.Skip("see golang.org/issue/11453")
 	}
 	}