diff --git a/unix/syscall_internal_linux_test.go b/unix/syscall_internal_linux_test.go index 627df52d..e3d2ad39 100644 --- a/unix/syscall_internal_linux_test.go +++ b/unix/syscall_internal_linux_test.go @@ -230,7 +230,7 @@ func Test_anyToSockaddr(t *testing.T) { // trying to create the socket. Skip the test in this situation. if err == EPROTONOSUPPORT { t.Skip("socket family/protocol not supported by kernel") - } else if err == EAFNOSUPPORT { + } else if err == EAFNOSUPPORT { t.Skip("socket address family not supported by kernel") } else if err == EACCES { // Some platforms might require elevated privileges to perform