Something went wrong. Try again.
router flow monitor
Something went wrong. Try again.
12345678910111213141516171819package testutil
import ( "os/exec" "testing")
// RequireCommand skips the test unless the named binary is available in PATHfunc RequireCommand(t *testing.T, name string) string { t.Helper()
path, err := exec.LookPath(name) if err != nil { t.Skipf("%s not available", name) }
return path}