sanity_notlinux.go 203 B

1234567891011
  1. //go:build !linux
  2. package netnsutils
  3. import (
  4. "syscall"
  5. "testing"
  6. )
  7. // AssertSocketSameNetNS is a no-op on platforms other than Linux.
  8. func AssertSocketSameNetNS(t testing.TB, conn syscall.Conn) {}