4 # expects to be run inside the uml
6 fail () { echo >&2 "$0: fail: $*"; exit 1; }
10 .* | */* | '') fail "bad tname $tname" ;;#
19 $test/netns-setup "$tname"
20 $test/run-server "$tname" & spid=$!
21 $test/run-client "$tname" & cpid=$1
23 $test/netns-run-client "$tname" -- ping -c 10 192.0.2.1 >$tmp/ping
24 grep ' 0% packet loss' $tmp/ping