diff --git a/src/pkg/net/file_test.go b/src/pkg/net/file_test.go index 09d1f4dcc0a..d81bca78249 100644 --- a/src/pkg/net/file_test.go +++ b/src/pkg/net/file_test.go @@ -181,7 +181,7 @@ var filePacketConnTests = []struct { func TestFilePacketConn(t *testing.T) { switch runtime.GOOS { - case "plan9", "windows", "nacl": + case "nacl", "plan9", "windows": t.Skipf("skipping test on %q", runtime.GOOS) } diff --git a/src/pkg/net/file_unix.go b/src/pkg/net/file_unix.go index c674b9b3201..07b3ecf6263 100644 --- a/src/pkg/net/file_unix.go +++ b/src/pkg/net/file_unix.go @@ -24,7 +24,6 @@ func newFileFD(f *os.File) (*netFD, error) { sotype, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_TYPE) if err != nil { - println("getsockopt failed", fd, err.Error()) closesocket(fd) return nil, os.NewSyscallError("getsockopt", err) } diff --git a/src/pkg/net/ipraw_test.go b/src/pkg/net/ipraw_test.go index 51a1b2c2fec..0632dafc65e 100644 --- a/src/pkg/net/ipraw_test.go +++ b/src/pkg/net/ipraw_test.go @@ -247,7 +247,7 @@ var ipConnLocalNameTests = []struct { func TestIPConnLocalName(t *testing.T) { switch runtime.GOOS { - case "plan9", "windows", "nacl": + case "nacl", "plan9", "windows": t.Skipf("skipping test on %q", runtime.GOOS) default: if os.Getuid() != 0 {