Home
last modified time | relevance | path

Searched refs:maybe_exec (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/tools/testing/selftests/wireguard/
Dnetns.sh36 maybe_exec() { if [[ $BASHPID -eq $$ ]]; then "$@"; else exec "$@"; fi; } function
37 n0() { pretty 0 "$*"; maybe_exec ip netns exec $netns0 "$@"; }
38 n1() { pretty 1 "$*"; maybe_exec ip netns exec $netns1 "$@"; }
39 n2() { pretty 2 "$*"; maybe_exec ip netns exec $netns2 "$@"; }