Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/ssh/
Dssh-stress40 [ "$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 $TST_IPVER $(tst_ipaddr) \
120 tst_rhost_run -s -c "ssh-stress02-rmt $TST_IPVER $(tst_ipaddr) \
135 tst_rhost_run -s -c "ssh-stress03-rmt $TST_IPVER $(tst_ipaddr) \
/external/ltp/testcases/network/tcp_cc/
Dtcp_cc_lib.sh32 tst_rhost_run -c "ip li set txqueuelen $prev_qlen $rmt_dev"
35 tst_rhost_run -c "tc qdisc replace $rmt_dev root $prev_queue"
47 tst_rhost_run -c "modprobe tcp_$alg" > /dev/null 2>&1
48 tst_rhost_run -c "grep -q $alg $proc_cc" || \
67 prev_qlen=$(tst_rhost_run -s -c \
69 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"
72 prev_queue=$(tst_rhost_run -s -c \
77 tst_rhost_run -c "tc qdisc replace dev $rmt_dev root $qdisc" >/dev/null
/external/ltp/testcases/lib/
Dtst_net.sh53 tst_rhost_run -c "mkdir -p $TST_TMPDIR"
54 tst_rhost_run -c "chmod 777 $TST_TMPDIR"
136 tst_rhost_run() function
238 tst_rhost_run $rsafe -c "$cmd $rparams $@"
252 tst_rhost_run -c "$*" > /dev/null
262 tst_rhost_run -c "$* 2> /dev/null"
298 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")
433 tst_rhost_run -c "ip xfrm policy flush" || return $?
434 tst_rhost_run -c "ip xfrm state flush" || return $?
435 tst_rhost_run -c "ip link set $iface down" || return $?
[all …]
/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/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/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/virt/
Dvirt_lib.sh88 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
144 tst_rhost_run -s -c "ip li add ltp_v0 type $virt_type $@ $opt"
147 tst_rhost_run -s -c "ip link add ltp_v0 type $virt_type $@"
150 tst_rhost_run -s -c "ip -f inet$TST_IPV6 tu add ltp_v0 \
154 tst_rhost_run -s -c "ip li add link $(tst_iface rhost) ltp_v0 \
212 tst_rhost_run -s -c "ip ad add ${ip6_virt_remote}/64 dev ltp_v0 nodad"
215 tst_rhost_run -s -c "ip addr add ${ip_virt_remote}/24 dev ltp_v0"
218 tst_rhost_run -s -c "sysctl -q net.ipv6.conf.ltp_v0.accept_dad=0"
221 tst_rhost_run -s -c "ip li set up ltp_v0"
232 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/
Dsendfile0161 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-change47 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu"
77 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu"
80 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu"
/external/ltp/testcases/network/stress/http/
Dhttp-stress61 tst_rhost_run -s -c "http-stress01-rmt $(tst_ipaddr) \
71 tst_rhost_run -s -c "http-stress02-rmt $(tst_ipaddr) http_file \
/external/ltp/testcases/network/tcp_cmds/telnet/
Dtelnet0182 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/
Drlogin0178 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/multicast/grp-operation/
Dmcast-lib.sh98 tst_rhost_run -c "pkill -SIGHUP -f '$MCAST_RCMD'"
134 tst_rhost_run -s -c "$MCAST_RCMD -S $(tst_ipaddr) -m -w 1000000000 -r 1000 -b"
136 tst_rhost_run -s -c "$MCAST_RCMD -i 1000000000 -r 1 -b"
/external/ltp/testcases/network/stress/ftp/
Dftp-download-stress73 tst_rhost_run -s -c "ftp-download-stress01-rmt \
86 tst_rhost_run -s -c "ftp-download-stress02-rmt $(tst_ipaddr) \
Dftp-upload-stress84 tst_rhost_run -s -c "ftp-upload-stress01-rmt $(tst_ipaddr) \
94 tst_rhost_run -s -c "ftp-upload-stress02-rmt \
/external/ltp/testcases/network/stress/ns-tools/
Dtst_net_stress.sh50 tst_rhost_run -c "pkill -13 -x netstress"
120 tst_rhost_run -b -c "netstress -l -H $ip -g $port"
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_commo67 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/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-stress183 tst_rhost_run -s -c "dns-stress01-rmt $TST_IPVER $(tst_ipaddr) $port \
193 tst_rhost_run -s -c "dns-stress02-rmt $TST_IPVER $(tst_ipaddr) $port $net \