diff options
Diffstat (limited to 'libgo/go/net/port_test.go')
-rw-r--r-- | libgo/go/net/port_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgo/go/net/port_test.go b/libgo/go/net/port_test.go index 9e8968f359c..4811ade69e0 100644 --- a/libgo/go/net/port_test.go +++ b/libgo/go/net/port_test.go @@ -5,6 +5,7 @@ package net import ( + "runtime" "testing" ) @@ -43,6 +44,11 @@ var porttests = []portTest{ } func TestLookupPort(t *testing.T) { + switch runtime.GOOS { + case "nacl": + t.Skipf("skipping test on %q", runtime.GOOS) + } + for i := 0; i < len(porttests); i++ { tt := porttests[i] if port, err := LookupPort(tt.netw, tt.name); port != tt.port || (err == nil) != tt.ok { |