Home
last modified time | relevance | path

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

123

/external/ltp/testcases/network/tcp_cmds/rcp/
Drcp01.sh50 RHOST=${RHOST:-$LHOST}
58 if ! rsh -n -l root $RHOST mkdir -p $TCtmp >/dev/null 2>&1; then
77 if ! rcp $TCdat/$j $RHOST:$TCtmp/$j; then
82 SUM2=`rsh -n -l root $RHOST sum $TCtmp/$j | awk '{print $1}'`
83 rsh -n -l root $RHOST "rm -f $TCtmp/$j"
87 tst_resm TINFO "rcp $TCdat/$j $RHOST:$TCtmp/$j successful"
89 end_testcase "FAILED: wrong sum in transfer to $RHOST"
98 tst_resm TINFO "remote copying $RHOST:$TCdat/$j to $TCtmp/$j"
99 if ! rcp $RHOST:$TCdat/$j $TCtmp/$j >/dev/null 2>&1; then
104 SUM2=`rsh -n -l root $RHOST sum $TCdat/$j | awk '{print $1}'`
[all …]
/external/ltp/testcases/network/tcp_cmds/ftp/
Dftp01.sh59 RHOST=${RHOST:-`hostname`}
69 rsh -n -l root $RHOST mkdir -p "$TCtmp"
70 rsh -n -l root $RHOST chown -R ${RUSER} "$TCtmp"
103 } | ftp -nv $RHOST
115 } | ftp -nv $RHOST
116 SUM1=`rsh -n -l root $RHOST sum $TCtmp/$j | awk '{print $1}'`
118 rsh -n -l root $RHOST rm -f $TCtmp/$j
141 rsh -n -l root $RHOST rmdir "$TCtmp"
/external/ltp/testcases/network/stress/tcp/multi-diffip/
Dtcp4-multi-diffip01117 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
123 …$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null …
194 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem delay …
236 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
239 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $…
240 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
281 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
284 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} dev $rhost_…
285 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
318 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
[all …]
/external/ltp/testcases/network/stress/icmp/multi-diffip/
Dicmp4-multi-diffip01110 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
211 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
214 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $…
215 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
256 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
259 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} dev $rhost_…
260 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
293 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
310 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
318 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
[all …]
/external/ltp/testcases/network/tcp_cmds/rsh/
Drsh01.sh50 RHOST=${RHOST:-`hostname`}
67 if OUT=$(rsh -n -l root $RHOST 'ls -l /etc/hosts'); then
80 tst_resm TPASS "rsh to $RHOST test succeeded"
87 tst_resm TFAIL "rsh to $RHOST failed"
/external/ltp/testcases/network/tcp_cmds/telnet/
Dtelnet01.sh38 if [ -z $RHOST ]; then
62 spawn telnet $RHOST
75 wc -w > $RUSER.$RHOST\rexit\r\";
82 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.sh38 if [ -z $RHOST ]; then
62 spawn rlogin $RHOST -l $RUSER
71 wc -w > $RUSER.$RHOST\rexit\r\";
78 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/udp/multi-diffip/
Dudp4-multi-diffip01107 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
205 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
207 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $…
208 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadc…
248 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
251 …LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} dev $rhost_i…
252 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $r…
285 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
302 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
311 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
[all …]
/external/ltp/testcases/network/tcp_cmds/host/
Dhost01.sh45 RHOST=${RHOST:-`hostname`}
62 if rhost_addr=$(host $RHOST); then
69 end_testcase "host $RHOST on local machine failed"
/external/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01164 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
170 …$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null …
386 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem $netem…
400 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc $tc_cmd dev $rhost_ifname root netem $n…
414 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc $tc_cmd dev $rhost_ifname root netem $n…
434 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
445 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
453 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
497 ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server_…
/external/ltp/testcases/network/stress/tcp/multi-diffport/
Dtcp4-multi-diffport01117 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
123 …$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null …
258 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem delay …
278 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
290 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
298 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
341 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $curren…
/external/ltp/testcases/network/stress/tcp/multi-sameport/
Dtcp4-multi-sameport01114 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
120 …$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null …
257 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem delay …
277 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
289 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
297 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
341 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server…
/external/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01114 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
121 …$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null …
260 …ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem delay …
281 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
293 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
301 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
350 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server…
/external/ltp/testcases/network/multicast/mc_commo/
DREADME.1st4 RHOST on Machine A, i.e. 'export RHOST=<Machine B hostname>'. If this
5 is not done, the test will use itself as the RHOST, which isn't very useful. Also,
6 the machine specified as the RHOST must have a ".rhosts" file in root's home
/external/ltp/testcases/network/stress/ns-tools/
Dkillall_icmp_traffic59 $LTP_RSH $RHOST "killall -SIGINT ping ping6" >/dev/null 2>&1
65 …ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l /ping6*[[:blank:]] >/dev/null 2>&1 ; echo …
81 $LTP_RSH $RHOST "killall -SIGINT ping ping6" >/dev/null 2>&1
Dcheck_envval56 RHOST=${RHOST:=127.0.0.1}
57 if [ x${RHOST} = x ]; then
Dkillall_tcp_traffic60 $LTP_RSH $RHOST "killall -SIGHUP ns-tcpclient" >/dev/null 2>&1
84 …ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '/ns-tcpclient[[:blank:]]' >/dev/null 2>&1…
100 $LTP_RSH $RHOST "killall -SIGHUP ns-tcpclient" >/dev/null 2>&1
Dkillall_udp_traffic60 $LTP_RSH $RHOST "killall -SIGHUP ns-udpclient" >/dev/null 2>&1
84 …ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '/ns-udpclient[[:blank:]]' >/dev/null 2>&1…
99 $LTP_RSH $RHOST "killall -SIGHUP ns-udpclient" >/dev/null 2>&1
/external/ltp/testcases/network/multicast/
DREADME4 These tests ALL assume that the "RHOST" variable is set to the hostname
7 # export RHOST=<hostname here>.
11 it must also be located in "/home/ltptests" on the remote machine (RHOST).
15 machineA is running the tests, with machineB set as RHOST, then machineB's
/external/llvm/utils/bugpoint/
DRemoteRunSafely.sh47 RHOST=$1
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
/external/llvm-project/llvm/utils/bugpoint/
DRemoteRunSafely.sh47 RHOST=$1
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
/external/ltp/testcases/network/stress/icmp/multi-diffnic/
Dicmp4-multi-diffnic01105 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
240 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
252 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
260 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
287 …$LTP_RSH $RHOST "${LTPROOT}/testcases/bin/ns-echoclient -S $lhost_addr -f $IP_VER -s \"$ICMP_SIZE_…
/external/ltp/testcases/network/stress/udp/uni-basic/
Dudp4-uni-basic01104 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
239 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
251 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
259 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
301 ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-udpclient -b -f $IP_VER -S $lhost_addr -p $server_…
/external/ltp/testcases/network/tcp_cmds/
DREADME4 These tests ALL assume that the "RHOST" variable is set to the hostname
7 # export RHOST=<hostname here>.
11 it must also be located in "/home/ltptests" on the remote machine (RHOST).
16 For example, if machineA is running the tests, with machineB set as RHOST, then machineB's
/external/ltp/testcases/network/stress/udp/multi-diffport/
Dudp4-multi-diffport01107 …$LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH set…
245 …$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhos…
257 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr'…
265 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv6_connectivity $rhost_ifname $lhost_addr'…
306 …ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/ns-udpclient -b -f $IP_VER -S $lhost_addr -p $curren…

123