Something went wrong. Try again.
router flow monitor
Something went wrong. Try again.
12345678910111213141516171819//go:build linux
package testutil
import ( "errors" "syscall" "testing")
// SkipIfUnprivileged skips when a Linux-specific operation is blocked by missing capabilitiesfunc SkipIfUnprivileged(t *testing.T, err error) { t.Helper()
if errors.Is(err, syscall.EPERM) || errors.Is(err, syscall.EACCES) { t.Skipf("requires additional linux capabilities: %v", err) }}