Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/network/rpc/basic_tests/rusers/
Drusers0155 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 &"
81 [ $? -eq 0 ] || end_testcase "rusersd is inactive on $RHOST"
82 PID=`rsh -n $RHOST ps -ewf | grep rusersd | awk '{print $2 }'`
83 echo "ruserd started on $RHOST"
99 rusers $RHOST > /dev/null
100 [ $? -eq 0 ] || end_testcase "rusers $RHOST - failed"
[all …]
/external/ltp/testcases/network/rpc/basic_tests/rpcinfo/
Drpcinfo0165 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_out
117 [ $? -eq 0 ] || end_testcase "Not enough programs registered on $RHOST for test"
160 rpcinfo -t $RHOST $TPNUM
[all …]
/external/ltp/testcases/network/rpc/basic_tests/rup/
Drup0154 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"
96 echo "rup $RHOST"
97 rup $RHOST | grep $RHOST
[all …]
/external/ltp/testcases/network/tcp_cmds/finger/
Dfinger0157 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; then
146 end_testcase "finger -l $RUSER@$RHOST"
156 finger -m @$RHOST 2>&1 1>/dev/null || end_testcase "finger -m @$RHOST"
157 if ! finger -m $RUSER@$RHOST 2>&1 1>/dev/null; then
[all …]
/external/ltp/testcases/network/tcp_cmds/rcp/
Drcp0150 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"
99 if ! rcp $RHOST:$TCdat/$j $TCtmp/$j 2>&1 1>/dev/null; then
104 SUM2=`rsh -n -l root $RHOST sum $TCdat/$j | awk '{print $1}'`
[all …]
/external/ltp/testcases/network/tcp_cmds/ftp/
Dftp0159 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/rpc/basic_tests/rpc01/
Drpc0142 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
/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/
Drsh0150 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/
Dtelnet0137 if [ -z $RHOST ]; then
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/rlogin/
Drlogin0137 if [ -z $RHOST ]; then
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/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/
Dhost0145 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-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/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/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/tcp_cmds/ssh/
Dssh03_s129 set RHOST $env(RHOST)
42 spawn ssh -l $RUSER $RHOST whoami
Dssh02_s130 set RHOST $env(RHOST)
46 spawn ssh -l $RUSER $RHOST whoami
Dssh01_s129 set RHOST $env(RHOST)
45 spawn ssh -l $RUSER $RHOST whoami
/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
/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

1234