github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+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) {}