HomeSort by relevance Sort by last modified time
    Searched refs:RHOST (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/ltp/testcases/network/rpc/basic_tests/rusers/
rusers01 26 # SETUP: The home directory of root on the machine exported as "RHOST"
36 # rusers RHOST
38 # rusers -a RHOST
40 # rusers -l RHOST
55 RHOST=${RHOST:=`hostname`}
75 echo "Checking for rusersd on $RHOST"
77 rpcinfo -u $RHOST rusersd > /dev/null 2>&1
79 echo "Attempting to start rusersd on $RHOST"
80 rsh -n -l root $RHOST "/usr/sbin/rpc.rusersd &
    [all...]
  /external/ltp/testcases/network/rpc/basic_tests/rup/
rup01 26 # SETUP: The home directory of root on the machine exported as "RHOST"
54 RHOST=${RHOST:=`hostname`}
74 echo "Checking for rstatd on $RHOST"
76 rpcinfo -u $RHOST rstatd 3 > /dev/null 2>&1
78 echo "Attempting to start rstatd on $RHOST"
79 rsh -n -l root $RHOST "/usr/sbin/rpc.rstatd &"
80 [ $? -eq 0 ] || end_testcase "rstatd is inactive on $RHOST"
81 PID=`rsh -n $RHOST ps -ewf | grep rstatd | awk '{print $2 }'`
82 echo "rstatd started on $RHOST"
    [all...]
  /external/ltp/testcases/network/tcp_cmds/rsh/
rsh01 25 # 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/
rcp01 25 # 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:$TCdat/$j to $TCtmp/$j
    [all...]
  /external/ltp/testcases/network/stress/ns-tools/
killall_icmp_traffic 59 $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
check_setkey 62 ret=`$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH which setkey >/dev/null 2>&1 ; echo $?'`
check_netem 56 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
check_envval 55 # RHOST
56 RHOST=${RHOST:=127.0.0.1}
57 if [ x${RHOST} = x ]; then
58 tst_resm TBROK "Environment variable RHOST is not set."
killall_tcp_traffic 60 $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
killall_udp_traffic 60 $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/
ssh01_s1 29 set RHOST $env(RHOST)
45 spawn ssh -l $RUSER $RHOST whoami
ssh02_s1 30 set RHOST $env(RHOST)
46 spawn ssh -l $RUSER $RHOST whoami
ssh03_s1 29 set RHOST $env(RHOST)
42 spawn ssh -l $RUSER $RHOST whoami
  /external/ltp/testcases/network/tcp_cmds/host/
host01 25 # 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/rpc/basic_tests/rpcinfo/
rpcinfo01 26 # SETUP: The home directory of root on the machine exported as "RHOST"
65 RHOST=${RHOST:=`hostname`}
85 echo "Checking for portmap or rpcbind daemon on `hostname` and $RHOST"
100 rsh -n $RHOST "ps -ewf" | grep portmap | grep -v grep > /dev/null
101 [ $? -eq 0 ] || rsh -n $RHOST "ps -ewf" | grep rpcbind | grep -v grep > /dev/null
102 [ $? -eq 0 ] || end_testcase "The portmap or rpcbind daemon is NOT running on $RHOST"
106 rpcinfo -p $RHOST | grep portmapper
113 rpcinfo -p $RHOST | grep tcp | sed -n 2p > $TCtmp/rpc_out
114 rpcinfo -p $RHOST | grep udp | sed -n 2p >> $TCtmp/rpc_ou
    [all...]
  /external/ltp/testcases/network/tcp_cmds/finger/
finger01 25 # SETUP: The home directory of root on the machine exported as "RHOST"
57 RHOST=${RHOST:-$(hostname)}
69 FINGER=$(rsh -n $RHOST netstat -a |grep ":finger"|awk '{print $6}')
88 finger @$RHOST 2>&1 1>/dev/null
89 [ $? = 0 ] || end_testcase "finger @$RHOST"
97 finger $RUSER@$RHOST 2>&1 1>/dev/null || end_testcase "finger @$RUSER"
144 finger -l @$RHOST 2>&1 1>/dev/null || end_testcase "finger -l @$RHOST"
145 if ! finger -l $RUSER@$RHOST 2>&1 1>/dev/null; the
    [all...]
  /external/ltp/testcases/network/tcp_cmds/rlogin/
rlogin01 37 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/
telnet01 37 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/
ftp01 25 # 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 rmdir "$TCtmp
    [all...]
ftp05 57 spawn ftp $RHOST
74 spawn ftp $RHOST
ftp03 52 spawn ftp $RHOST
69 spawn ftp $RHOST
  /external/llvm/utils/bugpoint/
RemoteRunSafely.sh 47 RHOST=$1
74 #DEBUG: echo 'RHOST='$RHOST
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
  /external/swiftshader/third_party/LLVM/utils/bugpoint/
RemoteRunSafely.sh 47 RHOST=$1
74 #DEBUG: echo 'RHOST='$RHOST
81 if [ "$RHOST" = "" -o "$PROGRAM" = "" ]; then
92 connection=$RUSER'@'$RHOST
  /external/ltp/testcases/network/tcp_cmds/arping/
arping01.sh 27 ip_addr=$(tst_ipaddr rhost)
30 tst_resm TINFO "arping host '$RHOST' with ip '$ip_addr' dev '$dev'"
36 tst_resm TFAIL "arping to '$RHOST' failed"
  /external/ltp/testcases/network/rpc/basic_tests/rpc01/
rpc01 25 # SETUP: The home directory of root on the machine exported as "RHOST"
42 RHOST=${RHOST:=`hostname`}
63 rsh -n $RHOST $TCbin/rpc_server
64 PID1=`rsh -n $RHOST ps -ewf | grep rpc_server | grep -v grep | awk '{print $2 }'`
73 rpc1 -s $RHOST -f $TCdat/$FILE
101 rsh -n $RHOST kill -9 $PID1

Completed in 263 milliseconds

1 2 3 4