OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RHOST
(Results
1 - 25
of
66
) sorted by null
1
2
3
/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
ssh_setup
23
export
RHOST
="localhost"
34
tst_brkm TBROK "Failed to add user $TEST_USER to system $
RHOST
."
/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/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
ftp02
55
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/stress/icmp/multi-diffip/
icmp4-multi-diffip01
110
$LTP_RSH $
RHOST
${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH setkey -c' >/dev/null 2>&1
114
initialize_if
rhost
${LINK_NUM}
160
rhost_ifname=`get_ifname
rhost
$LINK_NUM`
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_ad (…)
[
all
...]
/external/ltp/testcases/network/stress/tcp/multi-diffip/
tcp4-multi-diffip01
117
$LTP_RSH $
RHOST
${LTPROOT}/'testcases/bin/output_ipsec_conf flush | PATH=/sbin:/usr/sbin:$PATH setkey -c' >/dev/null 2>&1
121
rhost_ifname=`get_ifname
rhost
$LINK_NUM`
123
$LTP_RSH $
RHOST
"PATH=/sbin:/usr/sbin:$PATH tc qdisc del dev $rhost_ifname root netem" >/dev/null 2>&1
127
initialize_if
rhost
${LINK_NUM}
180
rhost_ifname=`get_ifname
rhost
$LINK_NUM`
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 $ (…)
[
all
...]
/external/ltp/testcases/network/stress/route/
route4-redirect
100
$LTP_RSH $
RHOST
killall -SIGHUP ns-icmp_redirector >/dev/null 2>&1
104
initialize_if
rhost
${LINK_NUM}
135
rhost_ifname=`get_ifname
rhost
${LINK_NUM}`
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 176 milliseconds
1
2
3