From: Mikio Hara Date: Sun, 14 Jun 2015 00:01:23 +0000 (+0900) Subject: net: skip TestProtocolDialError on solaris X-Git-Tag: go1.5beta1~241 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=515e53a0518ac7de3dba540f6163101f9303a714;p=gostls13.git net: skip TestProtocolDialError on solaris Unfortunately there's no simple, easy way to make Dial{TCP,UDP} fail consistently across all platforms. Fow now we skip the test on Solaris. Change-Id: Ib3c55f670ac6a174fe9ea682dac7aab96b1e9dfb Reviewed-on: https://go-review.googlesource.com/11058 Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/error_test.go b/src/net/error_test.go index e01b58e6c5..bf95ff6108 100644 --- a/src/net/error_test.go +++ b/src/net/error_test.go @@ -161,7 +161,7 @@ func TestDialError(t *testing.T) { func TestProtocolDialError(t *testing.T) { switch runtime.GOOS { - case "nacl": + case "nacl", "solaris": t.Skipf("not supported on %s", runtime.GOOS) }