Home
last modified time | relevance | path

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

12

/external/ltp/testcases/network/stress/ssh/
Dssh-stress39 [ "$rtmpdir" ] && tst_rhost_run -c "rm -rf $rtmpdir"
59 port=$(tst_rhost_run -c "tst_get_unused_port ipv${ipver} stream")
81 rtmpdir=$(tst_rhost_run -c "mktemp -d -p $TMPDIR")
82 tst_rhost_run -s -c "ssh-keygen -t rsa -N \"\" -f $rtmpdir/id_rsa > /dev/null"
86 tst_rhost_run -s -c "printf \"\
93 tst_rhost_run -s -c "chmod 700 $rtmpdir; chmod 600 $rtmpdir/*"
96 tst_rhost_run -c "cat ${rtmpdir}/id_rsa.pub" > $tmpdir/authorized_keys
110 tst_rhost_run -s -c "ssh-stress01-rmt $ipver $(tst_ipaddr) \
121 tst_rhost_run -s -c "ssh-stress02-rmt $ipver $(tst_ipaddr) \
136 tst_rhost_run -s -c "ssh-stress03-rmt $ipver $(tst_ipaddr) \
/external/ltp/testcases/lib/
Dtest_net.sh51 tst_rhost_run() function
136 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")
229 tst_rhost_run -c "ip xfrm policy flush" || return $?
230 tst_rhost_run -c "ip xfrm state flush" || return $?
231 tst_rhost_run -c "ip link set $iface down" || return $?
232 tst_rhost_run -c "ip route flush dev $iface" || return $?
233 tst_rhost_run -c "ip addr flush dev $iface" || return $?
234 tst_rhost_run -c "ip link set $iface up"
257 tst_rhost_run -c "ip addr add $(tst_ipaddr rhost)/$mask dev $iface"
293 tst_rhost_run -c "ip a sh $iface_rmt | grep -q tentative"
[all …]
/external/ltp/testcases/network/busy_poll/
Dbusy_poll01.sh33 tst_rhost_run -c "sysctl -q -w net.core.busy_read=$rbusy_read_old"
34 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
43 tst_rhost_run -s -c "sysctl -q -w net.core.busy_read=$value"
44 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
52 rbusy_read_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_read')
53 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
Dbusy_poll02.sh31 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
38 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
44 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
Dbusy_poll03.sh31 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
38 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
44 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
/external/ltp/testcases/network/stress/ipsec/
Dipsec_lib.sh111 tst_rhost_run -c "ip xfrm state flush && ip xfrm policy flush"
115 tst_rhost_run -c "ip li del $cleanup_vti 2>/dev/null"
191 tst_rhost_run -s -c "ip xfrm state add src $src dst $dst \
193 tst_rhost_run -s -c "ip xfrm state add src $dst dst $src \
196 tst_rhost_run -s -c "ip xfrm policy add src $src dst $dst \
198 tst_rhost_run -s -c "ip xfrm policy add src $dst dst $src dir \
249 tst_rhost_run -s -c \
251 tst_rhost_run -s -c "ip li set $vti up"
255 tst_rhost_run -s -c "$ipx st add $o_dir $p $spi_1 $ALGR $m"
256 tst_rhost_run -s -c "$ipx st add $i_dir $p $spi_2 $ALGR $m"
[all …]
/external/ltp/testcases/network/tcp_cmds/rwho/
Drwho0146 tst_rhost_run -c "pgrep -x rwhod" > /dev/null
49 tst_rhost_run -s -c "rwhod"
50 RHOST_PID=$(tst_rhost_run -c "pgrep -x rwhod")
55 RHOSTNAME=$(tst_rhost_run -c "hostname | cut -f1 -d.")
80 tst_rhost_run -c "killall rwhod"
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs_lib.sh83 tst_rhost_run -c "test -d $remote_dir"
85 tst_rhost_run -s -c "mkdir -p $remote_dir"
86 tst_rhost_run -s -c "exportfs -i -o no_root_squash,rw \
133 tst_rhost_run -c "test -d $remote_dir && exportfs -u *:$remote_dir"
134 tst_rhost_run -c "test -d $remote_dir && rm -rf $remote_dir"
Dnfs03107 ORIG_NFSD=$(tst_rhost_run -s -c 'ps -ef | grep nfsd | grep -v grep | wc -l')
108 tst_rhost_run -s -c "rpc.nfsd $THREAD_NUM"
113 tst_rhost_run -c "rpc.nfsd $ORIG_NFSD"
/external/ltp/testcases/network/virt/
Dvirt_lib.sh139 tst_rhost_run -s -c "ip li add ltp_v0 type $virt_type $@ $opt"
142 tst_rhost_run -s -c "ip -f inet$TST_IPV6 tu add ltp_v0 \
146 tst_rhost_run -s -c "ip li add link $(tst_iface rhost) ltp_v0 \
203 tst_rhost_run -s -c "ip ad add ${ip6_virt_remote}/64 dev ltp_v0"
207 tst_rhost_run -s -c "ip li set ltp_v0 address $mac_virt_remote"
212 tst_rhost_run -s -c "ip addr add ${ip_virt_remote}/24 dev ltp_v0"
215 tst_rhost_run -s -c "ip li set up ltp_v0"
267 tst_rhost_run -s -c "ip link delete ltp_v0"
Dgre01.sh36 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
Dgeneve01.sh38 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
Dvxlan03.sh48 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
Dvlan03.sh37 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"
/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-change41 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu"
80 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu"
83 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu"
Dif-lib.sh39 tst_rhost_run -c "pkill -13 -x netstress"
46 tst_rhost_run -b -c "netstress -l -H $(tst_ipaddr) -g $port"
/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/
Dtelnet0181 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 1
82 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
/external/ltp/testcases/network/tcp_cmds/rlogin/
Drlogin0177 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 1
78 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
/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/multicast/mc_commo/
Dmc_commo66 tst_rhost_run -b -c "mc_send $GROUP_ADDR $(tst_ipaddr rhost) $PORT $TTL"
68 tst_rhost_run -s -c "pgrep -x mc_send > /dev/null"
/external/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat0149 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
51 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
/external/ltp/testcases/network/stress/dns/
Ddns-stress184 tst_rhost_run -s -c "dns-stress01-rmt $ipver $(tst_ipaddr) $port \
194 tst_rhost_run -s -c "dns-stress02-rmt $ipver $(tst_ipaddr) $port $net \

12