--- libgo/go/net/tcpsock_test.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/net/tcpsock_test.go 2020-09-08 15:57:58.459321000 +1000 @@ -654,7 +654,7 @@ n = 1000 } switch runtime.GOOS { - case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd", "plan9", "solaris", "windows": + case "bsdsunix", "darwin", "dragonfly", "freebsd", "netbsd", "openbsd", "plan9", "solaris", "windows": // Non-Linux systems take a long time to figure // out that there is nothing listening on localhost. n = 100