Lines Matching refs:tst_rhost_run
53 tst_rhost_run -c "mkdir -p $TST_TMPDIR"
54 tst_rhost_run -c "chmod 777 $TST_TMPDIR"
147 tst_rhost_run() function
247 tst_rhost_run $rsafe -c "$cmd $rparams $@"
261 tst_rhost_run -c "$*" > /dev/null
271 tst_rhost_run -c "$* 2> /dev/null"
315 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")
507 if tst_rhost_run -c "ip xfrm state 1>/dev/null 2>&1"; then
508 tst_rhost_run -c "ip xfrm policy flush" || return $?
509 tst_rhost_run -c "ip xfrm state flush" || return $?
511 tst_rhost_run -c "ip link set $iface down" || return $?
512 tst_rhost_run -c "ip route flush dev $iface" || return $?
513 tst_rhost_run -c "ip addr flush dev $iface" || return $?
514 tst_rhost_run -c "ip link set $iface up"
563 tst_rhost_run $rsafe -c "ip addr $action $addr dev $iface $dad"
609 tst_rhost_run -c "ip a sh $iface_rmt | grep -q tentative"
622 tst_rhost_run -c "cat $TST_TMPDIR/netstress.log"
689 tst_rhost_run -c "pkill -9 netstress\$"
692 tst_rhost_run -c "netstress $s_opts" > tst_netload.log 2>&1
700 local port=$(tst_rhost_run -s -c "cat $TST_TMPDIR/netstress_port")
705 tst_rhost_run -c "pkill -9 netstress\$"
831 tst_rhost_run -c "rm -rf $TST_TMPDIR"
881 eval $(tst_rhost_run -c 'tst_net_iface_prefix -r '$IPV4_RHOST \
884 eval $(tst_rhost_run -c 'tst_net_iface_prefix -r '$IPV6_RHOST \