|
|
@@ -24,7 +24,7 @@ func init() {
|
|
|
var condFatalf = func() func(*testing.T, string, ...interface{}) {
|
|
|
// A few APIs are not implemented yet on some platforms.
|
|
|
switch runtime.GOOS {
|
|
|
- case "darwin", "dragonfly", "plan9", "solaris", "windows":
|
|
|
+ case "darwin", "plan9", "solaris", "windows":
|
|
|
return (*testing.T).Logf
|
|
|
}
|
|
|
return (*testing.T).Fatalf
|
|
|
@@ -32,7 +32,7 @@ var condFatalf = func() func(*testing.T, string, ...interface{}) {
|
|
|
|
|
|
func TestConnInitiatorPathMTU(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
|
- case "dragonfly", "plan9", "solaris", "windows":
|
|
|
+ case "plan9", "solaris", "windows":
|
|
|
t.Skipf("not supported on %q", runtime.GOOS)
|
|
|
}
|
|
|
if !supportsIPv6 {
|
|
|
@@ -65,7 +65,7 @@ func TestConnInitiatorPathMTU(t *testing.T) {
|
|
|
|
|
|
func TestConnResponderPathMTU(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
|
- case "dragonfly", "plan9", "solaris", "windows":
|
|
|
+ case "plan9", "solaris", "windows":
|
|
|
t.Skipf("not supported on %q", runtime.GOOS)
|
|
|
}
|
|
|
if !supportsIPv6 {
|
|
|
@@ -98,7 +98,7 @@ func TestConnResponderPathMTU(t *testing.T) {
|
|
|
|
|
|
func TestPacketConnChecksum(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
|
- case "dragonfly", "plan9", "solaris", "windows":
|
|
|
+ case "plan9", "solaris", "windows":
|
|
|
t.Skipf("not supported on %q", runtime.GOOS)
|
|
|
}
|
|
|
if !supportsIPv6 {
|