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
86
) 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/arp/
arp01
26
# SETUP: The "
RHOST
" setting should be exported to be the hostname of
53
RHOST
=${
RHOST
:-$(hostname)}
81
ping -c1 $
RHOST
2>&1 1>/dev/null || end_testcase "ping $
RHOST
failed"
83
if ! arp -a | grep "$
RHOST
\>" 2>&1 1>/dev/null; then
87
if ! arp -d $
RHOST
2>&1 1>/dev/null; then
88
end_testcase "arp -d $
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/nfs/fsx-linux/
fsx.sh
29
# SETUP: The home directory of root on the machine exported as "
RHOST
"
82
RHOST
=${
RHOST
:=`hostname`}
91
echo "
RHOST
: $
RHOST
"
100
REMOTE_DIR=${
RHOST
}:${TESTDIR}
105
echo "Setting up remote machine: $
RHOST
"
106
rsh -n $
RHOST
"mkdir $TESTDIR"
108
rsh -n $
RHOST
"touch $TESTDIR/testfile"
112
rsh -n $
RHOST
"mkdir -p /export$TESTDIR
[
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."
/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
/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/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
/external/ltp/testcases/network/tcp_cmds/rwho/
rwho01
26
# SETUP: The home directory of root on the machine exported as "
RHOST
"
67
RHOST
=${
RHOST
:-$LHOST}
78
if [ "$(rsh -n -l root $
RHOST
pgrep -x rwhod)" == "" ]; then
79
tst_resm TINFO "Starting rwhod on $
RHOST
"
80
rsh -n -l root $
RHOST
/usr/sbin/rwhod
81
RHOST_PID=$(rsh -n -l root $
RHOST
pgrep -x rwhod)
83
end_testcase "Unable to start rwhod on $
RHOST
"
88
RHOSTNAME=`rsh -n -l root $
RHOST
hostname | cut -f1 -d.`
134
tst_resm TINFO "Stopping rwhod on $
RHOST
"
[
all
...]
/external/ltp/testcases/network/rpc/rpc-tirpc/
rpc_test.sh
22
# This wrapper uses the
RHOST
environment variable:
24
# If the
RHOST
variable is set, then the rpc server instance (if needed)
25
# is started on
RHOST
, using rsh, and the client program is passed
26
# the
RHOST
value.
28
# If the
RHOST
variable is not set, then the rpc server instance (if needed)
31
SERVER_HOST=${
RHOST
:-`hostname`}
42
if [ ! -z "$
RHOST
" ]; then
43
rsh -n "$
RHOST
" "$1"
65
echo "This scripts connects to the
RHOST
host by rsh and starts"
67
echo "
RHOST
value.
[
all
...]
Completed in 240 milliseconds
1
2
3
4