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

Signed-off-by: Hushan Jia <[email protected]>

---

--- ltp/testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01.orig        
2009-10-13 10:52:59.000000000 +0800
+++ ltp/testcases/network/rpc/basic_tests/rpcinfo/rpcinfo01     2009-10-13 
10:54:51.000000000 +0800
@@ -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

Reply via email to