Skip to contentSkip to conversation

network: fix rpc use rsh instead of ssh

PATCH In review Hushan Jia 2 participants 2 messages Oct 13, 2009

lore
Share & tools
lore

Hushan Jia

author
#0 lore raw

PATCH 1/1 network: fix rpc use rsh instead of ssh

Hello,

rpcinfo01 testcase use ssh to run command on remote machine, which will prompt for authentication and password.
I think it is a typo because all network tests use rsh.

Thanks & Regards,
Hushan

---

network: fix rpc use rsh instead of ssh

---

testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01 renamed from testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01.orig +2 -2
@@ -94,8 +94,8 @@ else
 	fi
 fi
 
-ssh -n $RHOST "ps -ewf" | grep portmap | grep -v grep > /dev/null
-[ $? -eq 0 ] || ssh -n $RHOST "ps -ewf" | grep rpcbind | grep -v grep > /dev/null
+rsh -n $RHOST "ps -ewf" | grep portmap | grep -v grep > /dev/null
+[ $? -eq 0 ] || rsh -n $RHOST "ps -ewf" | grep rpcbind | grep -v grep > /dev/null
 [ $? -eq 0 ] || end_testcase "The portmap or rpcbind daemon is NOT running on $RHOST"
 
 echo "Test rpcinfo with default options"

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 6 lines · Hushan Jia

Hello,

rpcinfo01 testcase use ssh to run command on remote machine, which will prompt for authentication and password.
I think it is a typo because all network tests use rsh.

Quoted 8 lines

Thanks & Regards,
Hushan

---

network: fix rpc use rsh instead of ssh

Thanks.

Regards--
Subrata

Quoted 21 lines

---

testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01 renamed from testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01.orig +2 -3
@@ -94,8 +94,8 @@ else
 	fi
 fi
 
-ssh -n $RHOST "ps -ewf" | grep portmap | grep -v grep > /dev/null
-[ $? -eq 0 ] || ssh -n $RHOST "ps -ewf" | grep rpcbind | grep -v grep > /dev/null
+rsh -n $RHOST "ps -ewf" | grep portmap | grep -v grep > /dev/null
+[ $? -eq 0 ] || rsh -n $RHOST "ps -ewf" | grep rpcbind | grep -v grep > /dev/null
 [ $? -eq 0 ] || end_testcase "The portmap or rpcbind daemon is NOT running on $RHOST"
 
 echo "Test rpcinfo with default options"
 
 
 
------------------------------------------------------------------------------

Come build with us! The BlackBerry(R) Developer Conference in SF, CA

Quoted 8 lines

is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list