Searched refs:tst_rhost_run (Results 1 – 25 of 34) sorted by relevance
12
35 [ -n "$RHOST_PIDS" ] && tst_rhost_run -c "kill $RHOST_PIDS" >/dev/null 2>&138 [ -n "$RHOST_SSH_CONF" ] && tst_rhost_run -c "pkill -f '^ssh $RHOST_SSH_CONF'"46 port=$(tst_rhost_run -c "tst_get_unused_port ipv${TST_IPVER} stream")69 tst_rhost_run -s -c "ssh-keygen -t rsa -N \"\" -f $TST_TMPDIR/id_rsa \74 tst_rhost_run -s -c "printf \"\83 tst_rhost_run -c "cat ${TST_TMPDIR}/id_rsa.pub" > authorized_keys97 tst_rhost_run -c "$RHOST_SSH 'true >/dev/null 2>&1' >/dev/null"112 pid=$(tst_rhost_run -c "$RHOST_SSH -N </dev/null 1>/dev/null 2>&1 \121 tst_rhost_run -c "kill $pid" >/dev/null151 if tst_rhost_run -c "kill -0 $pid" >/dev/null; then[all …]
34 tst_rhost_run -c "ip link set txqueuelen $prev_qlen $rmt_dev"37 tst_rhost_run -c "tc qdisc replace $rmt_dev root $prev_queue"49 tst_rhost_run -c "modprobe tcp_$alg" > /dev/null 2>&150 tst_rhost_run -c "grep -q $alg $proc_cc" || \69 prev_qlen=$(tst_rhost_run -s -c \71 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"74 prev_queue=$(tst_rhost_run -s -c \79 tst_rhost_run -c "tc qdisc replace dev $rmt_dev root $qdisc" >/dev/null
55 tst_rhost_run -c "mkdir -p $TST_TMPDIR"56 tst_rhost_run -c "chmod 777 $TST_TMPDIR"151 tst_rhost_run() function254 tst_rhost_run $rsafe -c "$cmd $rparams $@"270 tst_rhost_run -c "$*" > $log285 tst_rhost_run -c "$*" > $log332 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")525 if tst_rhost_run -c "ip xfrm state 1>/dev/null 2>&1"; then526 tst_rhost_run -c "ip xfrm policy flush" || return $?527 tst_rhost_run -c "ip xfrm state flush" || return $?[all …]
74 tst_rhost_run -c "[ -f /etc/nfs.conf ]" || return 075 …config=$(tst_rhost_run -c 'for f in $(grep ^include.*= '/etc/nfs.conf' | cut -d = -f2); do [ -f $f…77 tst_rhost_run -c "grep -q \"^[# ]*udp *= *y\" /etc/nfs.conf $config"89 if ! tst_rhost_run -c "test -d $remote_dir"; then90 tst_rhost_run -s -c "mkdir -p $remote_dir; $export_cmd"112 tst_rhost_run -c "$mnt_cmd" > mount.log198 tst_rhost_run -c "test -d $remote_dir && exportfs -u *:$remote_dir"199 tst_rhost_run -c "test -d $remote_dir && rm -rf $remote_dir"
85 ORIG_NFSD=$(tst_rhost_run -s -c 'ps -ef | grep -w nfsd | grep -v grep | wc -l')86 tst_rhost_run -s -c "rpc.nfsd $THREAD_NUM"91 tst_rhost_run -c "rpc.nfsd $ORIG_NFSD"
40 tst_rhost_run -s -c "touch \$(seq -f \"$file_fmt\" -s ' ' $FILE_COUNT)"41 tst_rhost_run -s -c "mkdir \$(seq -f \"$dir_fmt\" -s ' ' $FILE_COUNT)"
19 tst_rhost_run -c "$flush_dev lo" > /dev/null22 [ -n "$rpf_rmt" ] && tst_rhost_run -s -c "sysctl -q net.ipv4.conf.all.rp_filter=$rpf_rmt"29 tst_rhost_run -c "ip route del $ip_virt_local/32 dev ltp_v0" > /dev/null30 tst_rhost_run -c "ip route del $ip6_virt_local/128 dev ltp_v0" > /dev/null47 tst_rhost_run -s -c "sysctl -q net.mpls.conf.$(tst_iface rhost).input=1"65 tst_rhost_run -s -c "ip route add $ip_loc/$mask encap mpls $((label + 1)) dev ltp_v0"66 tst_rhost_run -s -c "ip -f mpls route add $label dev lo"
14 tst_rhost_run -c "ip route del $ip_loc/$mask" > /dev/null17 [ -n "$ip_rmt" ] && tst_rhost_run -c "ip addr del $ip_rmt/$mask dev lo" > \35 tst_rhost_run -s -c "ip addr add $ip_rmt/$mask dev lo"36 tst_rhost_run -s -c "ip route add $ip_loc/$mask encap mpls 60 via inet$TST_IPV6 $(tst_ipaddr)"37 tst_rhost_run -s -c "ip -f mpls route add 50 dev lo"
90 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"162 tst_rhost_run -s -c "ip link add ltp_v0 type $virt_type $@ $opt"165 tst_rhost_run -s -c "ip link add ltp_v0 type $virt_type $@"168 tst_rhost_run -s -c "ip -f inet$TST_IPV6 tu add ltp_v0 \172 tst_rhost_run -s -c "ip link add name ltp_v0 \176 tst_rhost_run -s -c "ip link add link $(tst_iface rhost) ltp_v0 \234 tst_rhost_run -s -c "ip addr add ${ip6_virt_remote}/64 dev ltp_v0 nodad"237 tst_rhost_run -s -c "ip addr add ${ip_virt_remote}/24 dev ltp_v0"240 tst_rhost_run -s -c "sysctl -q net.ipv6.conf.ltp_v0.accept_dad=0"243 tst_rhost_run -s -c "ip link set up ltp_v0"[all …]
25 local port_rmt=$(tst_rhost_run -c "tst_get_unused_port ipv${TST_IPVER} dgram")28 tst_rhost_run -s -c "echo '$(cat wg1.key)' > wg1.key"56 tst_rhost_run -s -c \58 tst_rhost_run -s -c "wg set ltp_v0 peer $pub_key0 \
46 tst_rhost_run -s -c "$cmd tx sa $sa pn 100 on key $keyid1 $key1"47 tst_rhost_run -s -c "$cmd rx address $h0 port 1"48 tst_rhost_run -s -c \
123 tst_rhost_run -c "ip xfrm state flush && ip xfrm policy flush"127 tst_rhost_run -c "ip link del $cleanup_vti 2>/dev/null"203 tst_rhost_run -s -c "ip xfrm state add src $src dst $dst \205 tst_rhost_run -s -c "ip xfrm state add src $dst dst $src \208 tst_rhost_run -s -c "ip xfrm policy add src $src dst $dst \210 tst_rhost_run -s -c "ip xfrm policy add src $dst dst $src dir \263 tst_rhost_run -s -c \265 tst_rhost_run -s -c "ip link set $vti up"269 tst_rhost_run -s -c "$ipx st add $o_dir $p $spi_1 $ALGR $m"270 tst_rhost_run -s -c "$ipx st add $i_dir $p $spi_2 $ALGR $m"[all …]
15 tst_rhost_run -c 'which grep' > /dev/null || \18 tst_rhost_run -c "[ -f $file ]" || \21 tst_rhost_run -s -c "grep -q \"[^ ]\" $file"22 tst_rhost_run -s -c "grep -q '[^ ]' $file"
16 tst_rhost_run -c "sysctl -q -w net.core.busy_read=$rbusy_read_old"18 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"35 rbusy_read_old=$(tst_rhost_run -c 'sysctl -ne net.core.busy_read')36 rbusy_poll_old=$(tst_rhost_run -c 'sysctl -ne net.core.busy_poll')
14 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"28 rbusy_poll_old=$(tst_rhost_run -c 'sysctl -ne net.core.busy_poll')
16 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"30 rbusy_poll_old=$(tst_rhost_run -c 'sysctl -ne net.core.busy_poll')
25 port=$(tst_rhost_run -s -c "tst_get_unused_port ipv$TST_IPVER stream")28 tst_rhost_run -s -b -c "$server $(tst_ipaddr rhost) $port"50 [ -n "$server_started" ] && tst_rhost_run -c "pkill $server"
30 tst_rhost_run -s -c "ip addr flush dev $rhost_ifname"39 tst_rhost_run -s -c "ns-icmp_redirector -I $rhost_ifname -b"44 tst_rhost_run -c "killall -SIGHUP ns-icmp_redirector"
41 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu" || ret=144 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu" || ret=185 tst_rhost_run -c "ip link set $(tst_iface rhost) mtu $saved_mtu"
61 tst_rhost_run -s -c "http-stress01-rmt.sh $(tst_ipaddr) \71 tst_rhost_run -s -c "http-stress02-rmt.sh $(tst_ipaddr) http_file \
82 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 183 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
73 tst_rhost_run -s -c "ftp-download-stress01-rmt.sh \86 tst_rhost_run -s -c "ftp-download-stress02-rmt.sh $(tst_ipaddr) \
37 tst_rhost_run -c "pkill -13 -x netstress"107 tst_rhost_run -b -c "netstress -l -H $ip -g $port"
67 tst_rhost_run -b -c "mc_send $GROUP_ADDR $(tst_ipaddr rhost) $PORT $TTL"69 tst_rhost_run -s -c "pgrep -x mc_send > /dev/null"
93 tst_rhost_run -c "pkill -SIGHUP -f '$MCAST_RCMD'"129 tst_rhost_run -s -c "$MCAST_RCMD -S $(tst_ipaddr) -m -w 1000000000 -r 1000 -b"131 tst_rhost_run -s -c "$MCAST_RCMD -i 1000000000 -r 1 -b"