]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip TestProtocolDialError on solaris
authorMikio Hara <mikioh.mikioh@gmail.com>
Sun, 14 Jun 2015 00:01:23 +0000 (09:01 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 16 Jun 2015 17:35:46 +0000 (17:35 +0000)
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 <iant@golang.org>
src/net/error_test.go

index e01b58e6c5e490f09eee2248977203d8e82a3823..bf95ff6108cb1904e72b185890b3954b622d07c6 100644 (file)
@@ -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)
        }