diff --git a/src/net/file_unix_test.go b/src/net/file_unix_test.go index 0a8badf23f..0499a02404 100644 --- a/src/net/file_unix_test.go +++ b/src/net/file_unix_test.go @@ -14,6 +14,10 @@ import ( // For backward compatibility, opening a net.Conn, turning it into an os.File, // and calling the Fd method should return a blocking descriptor. func TestFileFdBlocks(t *testing.T) { + if !testableNetwork("unix") { + t.Skipf("skipping: unix sockets not supported") + } + ls := newLocalServer(t, "unix") defer ls.teardown()