github.com/rish1988/moby@v25.0.2+incompatible/internal/testutils/netnsutils/sanity_notlinux.go (about)

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