Home
last modified time | relevance | path

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

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