Searched refs:RHOST (Results 1 - 25 of 66) sorted by relevance

123

/external/ltp/testcases/network/tcp_cmds/rsh/
H A Drsh0125 # SETUP: The home directory of root on the machine exported as "RHOST"
50 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/rcp/
H A Drcp0125 # SETUP: The home directory of root on the machine exported as "RHOST"
50 RHOST=${RHOST:-$LHOST}
58 if ! rsh -n -l root $RHOST mkdir -p $TCtmp 2>&1 1>/dev/null; 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
[all...]
/external/ltp/testcases/network/stress/ns-tools/
H A Dkillall_icmp_traffic59 $LTP_RSH $RHOST "killall -SIGINT ping ping6" >/dev/null 2>&1
64 #ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l [[:blank:]]ping6*[[:blank:]] >/dev/null 2>&1 ; echo $?'`
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
H A Dcheck_setkey62 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH which setkey >/dev/null 2>&1 ; echo $?'`
H A Dcheck_netem56 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH which tc >/dev/null 2>&1 ; echo $?'`
64 $LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc add dev eth0 root netem help" >$ofile 2>&1
H A Dcheck_envval55 # RHOST
56 RHOST=${RHOST:=127.0.0.1}
57 if [ x${RHOST} = x ]; then
58 tst_resm TBROK "Environment variable RHOST is not set."
H A Dkillall_tcp_traffic60 $LTP_RSH $RHOST "killall -SIGHUP ns-tcpclient" >/dev/null 2>&1
83 ##ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '[[:blank:]]ns-tcpclient[[:blank:]]' >/dev/null 2>&1; echo $?'`
84 ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '/ns-tcpclient[[:blank:]]' >/dev/null 2>&1; echo $?'`
100 $LTP_RSH $RHOST "killall -SIGHUP ns-tcpclient" >/dev/null 2>&1
H A Dkillall_udp_traffic60 $LTP_RSH $RHOST "killall -SIGHUP ns-udpclient" >/dev/null 2>&1
83 #ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '[[:blank:]]ns-udpclient[[:blank:]]' >/dev/null 2>&1; echo $?'`
84 ret=`$LTP_RSH $RHOST 'ps auxw | fgrep -v grep | grep -l '/ns-udpclient[[:blank:]]' >/dev/null 2>&1; echo $?'`
99 $LTP_RSH $RHOST "killall -SIGHUP ns-udpclient" >/dev/null 2>&1
/external/ltp/testcases/network/tcp_cmds/ssh/
H A Dssh01_s129 set RHOST $env(RHOST)
45 spawn ssh -l $RUSER $RHOST whoami
H A Dssh02_s130 set RHOST $env(RHOST)
46 spawn ssh -l $RUSER $RHOST whoami
H A Dssh03_s129 set RHOST $env(RHOST)
42 spawn ssh -l $RUSER $RHOST whoami
H A Dssh_setup23 export RHOST="localhost"
34 tst_brkm TBROK "Failed to add user $TEST_USER to system $RHOST."
/external/ltp/testcases/network/tcp_cmds/host/
H A Dhost0125 # SETUP: If "RHOST" is not exported, then the local hostname is used.
45 RHOST=${RHOST:-`hostname`}
62 if rhost_addr=$(host $RHOST); then
69 end_testcase "host $RHOST on local machine failed"
/external/ltp/testcases/network/tcp_cmds/rlogin/
H A Drlogin0137 if [ -z $RHOST ]; then
38 tst_brkm TCONF "Please set RHOST."
61 spawn rlogin $RHOST -l $RUSER
70 wc -w > $RUSER.$RHOST\rexit\r\";
77 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/tcp_cmds/telnet/
H A Dtelnet0137 if [ -z $RHOST ]; then
38 tst_brkm TCONF "Please set RHOST."
61 spawn telnet $RHOST
74 wc -w > $RUSER.$RHOST\rexit\r\";
81 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/ftp/
H A Dftp0125 # SETUP: The home directory of root on the machine exported as "RHOST"
59 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 rmdi
[all...]
H A Dftp0557 spawn ftp $RHOST
74 spawn ftp $RHOST
H A Dftp0352 spawn ftp $RHOST
69 spawn ftp $RHOST
H A Dftp0255 spawn ftp $RHOST
/external/llvm/utils/bugpoint/
H A DRemoteRunSafely.sh47 RHOST=$1
74 #DEBUG: echo 'RHOST='$RHOST
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
/external/swiftshader/third_party/LLVM/utils/bugpoint/
H A DRemoteRunSafely.sh47 RHOST=$1
74 #DEBUG: echo 'RHOST='$RHOST
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
/external/ltp/testcases/network/tcp_cmds/arping/
H A Darping01.sh30 tst_resm TINFO "arping host '$RHOST' with ip '$ip_addr' dev '$dev'"
36 tst_resm TFAIL "arping to '$RHOST' failed"
/external/ltp/testcases/network/stress/icmp/multi-diffip/
H A Dicmp4-multi-diffip01110 $LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH setkey -c' >/dev/null 2>&1
211 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname' ; echo $?'`
214 $LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname
215 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname' ; echo $?'`
256 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $rhost_ifname' ; echo $?'`
259 $LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} dev $rhost_ifname
260 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $rhost_ifname' ; echo $?'`
293 $LTP_RSH $RHOST ${LTPROOT}/testcases/bin/output_ipsec_conf dst $IPSEC_PROTO $IPSEC_MODE $SPI $lhost_addr $rhost_addr' | PATH=/sbin:/usr/sbin:$PATH setkey -c' 2>&1 | tee $ipsec_log
310 ret=`$LTP_RSH $RHOST ${LTPROOT}/testcases/bin/check_icmpv4_connectivity $rhost_ifname $lhost_addr' ; echo $?'`
318 ret=`$LTP_RSH $RHOST
[all...]
/external/ltp/testcases/network/stress/tcp/multi-diffip/
H A Dtcp4-multi-diffip01117 $LTP_RSH $RHOST ${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH setkey -c' >/dev/null 2>&1
123 $LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null 2>&1
194 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH tc' qdisc add dev $rhost_ifname root netem delay ${NET_DELAY}ms ${NET_DELAY_DEFL}ms distribution normal' ; echo $?'`
236 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname' ; echo $?'`
239 $LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname
240 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadcast dev $rhost_ifname' ; echo $?'`
281 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $rhost_ifname' ; echo $?'`
284 $LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} dev $rhost_ifname
285 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} dev $rhost_ifname' ; echo $?'`
318 $LTP_RSH $RHOST
[all...]
/external/ltp/testcases/network/stress/route/
H A Droute4-redirect100 $LTP_RSH $RHOST killall -SIGHUP ns-icmp_redirector >/dev/null 2>&1
143 $LTP_RSH $RHOST "ip addr flush dev $rhost_ifname" > /dev/null
160 ret=`$LTP_RSH $RHOST "${LTPROOT}/testcases/bin/ns-icmp_redirector -I $rhost_ifname -b ; "'echo $?'`

Completed in 666 milliseconds

123