]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip UnixShutdown test on windows
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 29 May 2012 22:46:07 +0000 (15:46 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 29 May 2012 22:46:07 +0000 (15:46 -0700)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6259052

src/pkg/net/net_test.go

index b627e271305576ec2ae56a58e82427793ab041c3..8a299245dace2408cabf9e90354ce0b0e70ac3aa 100644 (file)
@@ -61,7 +61,8 @@ func TestShutdown(t *testing.T) {
 }
 
 func TestShutdownUnix(t *testing.T) {
-       if runtime.GOOS == "plan9" {
+       switch runtime.GOOS {
+       case "windows", "plan9":
                t.Logf("skipping test on %q", runtime.GOOS)
                return
        }