Home
last modified time | relevance | path

Searched refs:tst_rhost_run (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/testcases/network/stress/ssh/
Dssh-stress.sh40 [ "$rtmpdir" ] && tst_rhost_run -c "rm -rf $rtmpdir"
58 port=$(tst_rhost_run -c "tst_get_unused_port ipv${TST_IPVER} stream")
80 rtmpdir=$(tst_rhost_run -c "mktemp -d -p $TMPDIR")
81 tst_rhost_run -s -c "ssh-keygen -t rsa -N \"\" -f $rtmpdir/id_rsa > /dev/null"
85 tst_rhost_run -s -c "printf \"\
92 tst_rhost_run -s -c "chmod 700 $rtmpdir; chmod 600 $rtmpdir/*"
95 tst_rhost_run -c "cat ${rtmpdir}/id_rsa.pub" > $tmpdir/authorized_keys
109 tst_rhost_run -s -c "ssh-stress01-rmt.sh $TST_IPVER $(tst_ipaddr) \
120 tst_rhost_run -s -c "ssh-stress02-rmt.sh $TST_IPVER $(tst_ipaddr) \
135 tst_rhost_run -s -c "ssh-stress03-rmt.sh $TST_IPVER $(tst_ipaddr) \
/external/ltp/testcases/network/tcp_cc/
Dtcp_cc_lib.sh33 tst_rhost_run -c "ip li set txqueuelen $prev_qlen $rmt_dev"
36 tst_rhost_run -c "tc qdisc replace $rmt_dev root $prev_queue"
48 tst_rhost_run -c "modprobe tcp_$alg" > /dev/null 2>&1
49 tst_rhost_run -c "grep -q $alg $proc_cc" || \
68 prev_qlen=$(tst_rhost_run -s -c \
70 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"
73 prev_queue=$(tst_rhost_run -s -c \
78 tst_rhost_run -c "tc qdisc replace dev $rmt_dev root $qdisc" >/dev/null
/external/ltp/testcases/network/busy_poll/
Dbusy_poll01.sh16 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"
27 tst_rhost_run -s -c "sysctl -q -w net.core.busy_read=$value"
28 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
38 rbusy_read_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_read')
39 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
Dbusy_poll02.sh14 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
21 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
29 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
Dbusy_poll03.sh16 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
23 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
31 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
/external/ltp/testcases/lib/
Dtst_net.sh53 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 $?
[all …]
/external/ltp/testcases/network/mpls/
Dmpls_lib.sh19 tst_rhost_run -c "$flush_dev lo" > /dev/null
22 [ -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/null
30 tst_rhost_run -c "ip route del $ip6_virt_local/128 dev ltp_v0" > /dev/null
47 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"
Dmpls02.sh14 tst_rhost_run -c "ip route del $ip_loc/$mask" > /dev/null
17 [ -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"
/external/ltp/testcases/network/stress/ipsec/
Dipsec_lib.sh123 tst_rhost_run -c "ip xfrm state flush && ip xfrm policy flush"
127 tst_rhost_run -c "ip li 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 li 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 …]
/external/ltp/testcases/network/virt/
Dvirt_lib.sh92 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
148 tst_rhost_run -s -c "ip li add ltp_v0 type $virt_type $@ $opt"
151 tst_rhost_run -s -c "ip link add ltp_v0 type $virt_type $@"
154 tst_rhost_run -s -c "ip -f inet$TST_IPV6 tu add ltp_v0 \
158 tst_rhost_run -s -c "ip li add link $(tst_iface rhost) ltp_v0 \
216 tst_rhost_run -s -c "ip ad add ${ip6_virt_remote}/64 dev ltp_v0 nodad"
219 tst_rhost_run -s -c "ip addr add ${ip_virt_remote}/24 dev ltp_v0"
222 tst_rhost_run -s -c "sysctl -q net.ipv6.conf.ltp_v0.accept_dad=0"
225 tst_rhost_run -s -c "ip li set up ltp_v0"
236 tst_rhost_run -s -c "ip ne replace $ip_virt_local lladdr \
Dmacsec_lib.sh46 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 \
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs_lib.sh61 if ! tst_rhost_run -c "test -d $remote_dir"; then
62 tst_rhost_run -s -c "mkdir -p $remote_dir; $export_cmd"
83 tst_rhost_run -s -c "$mnt_cmd"
147 tst_rhost_run -c "test -d $remote_dir && exportfs -u *:$remote_dir"
148 tst_rhost_run -c "test -d $remote_dir && rm -rf $remote_dir"
Dnfs0385 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"
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dsendfile01.sh61 local port=$(tst_rhost_run -s -c "tst_get_unused_port $ipv stream")
64 tst_rhost_run -s -b -c "$SERVER $ipaddr $port"
101 [ -n "$server_started" ] && tst_rhost_run -s -c "pkill $SERVER"
/external/ltp/testcases/network/stress/interface/
Dif-mtu-change.sh36 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu"
66 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu"
69 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu"
/external/ltp/testcases/network/stress/http/
Dhttp-stress.sh61 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 \
/external/ltp/testcases/network/tcp_cmds/telnet/
Dtelnet01.sh82 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 1
83 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
/external/ltp/testcases/network/tcp_cmds/rlogin/
Drlogin01.sh78 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 1
79 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
/external/ltp/testcases/network/stress/ftp/
Dftp-download-stress.sh73 tst_rhost_run -s -c "ftp-download-stress01-rmt.sh \
86 tst_rhost_run -s -c "ftp-download-stress02-rmt.sh $(tst_ipaddr) \
Dftp-upload-stress.sh84 tst_rhost_run -s -c "ftp-upload-stress01-rmt.sh $(tst_ipaddr) \
94 tst_rhost_run -s -c "ftp-upload-stress02-rmt.sh \
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_commo.sh67 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"
/external/ltp/testcases/network/stress/ns-tools/
Dtst_net_stress.sh37 tst_rhost_run -c "pkill -13 -x netstress"
107 tst_rhost_run -b -c "netstress -l -H $ip -g $port"
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh85 tst_rhost_run -c "pkill -SIGHUP -f '$MCAST_RCMD'"
121 tst_rhost_run -s -c "$MCAST_RCMD -S $(tst_ipaddr) -m -w 1000000000 -r 1000 -b"
123 tst_rhost_run -s -c "$MCAST_RCMD -i 1000000000 -r 1 -b"
/external/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat0127 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
29 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
/external/ltp/testcases/network/stress/dns/
Ddns-stress.sh183 tst_rhost_run -s -c "dns-stress01-rmt.sh $TST_IPVER $(tst_ipaddr) $port \
193 tst_rhost_run -s -c "dns-stress02-rmt.sh $TST_IPVER $(tst_ipaddr) $port $net \

12