* [LTP] [PATCH] network: fix rpc use rsh instead of ssh
@ 2009-10-13 3:26 Hushan Jia
2009-10-13 10:50 ` Subrata Modak
0 siblings, 1 reply; 2+ messages in thread
From: Hushan Jia @ 2009-10-13 3:26 UTC (permalink / raw)
To: ltp-list
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 <hjia@redhat.com>
---
--- 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] network: fix rpc use rsh instead of ssh
2009-10-13 3:26 [LTP] [PATCH] network: fix rpc use rsh instead of ssh Hushan Jia
@ 2009-10-13 10:50 ` Subrata Modak
0 siblings, 0 replies; 2+ messages in thread
From: Subrata Modak @ 2009-10-13 10:50 UTC (permalink / raw)
To: Hushan Jia; +Cc: ltp-list
On Tue, 2009-10-13 at 11:26 +0800, Hushan Jia wrote:
> 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 <hjia@redhat.com>
Thanks.
Regards--
Subrata
>
> ---
>
> --- 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
> Ltp-list@lists.sourceforge.net
> 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-13 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 3:26 [LTP] [PATCH] network: fix rpc use rsh instead of ssh Hushan Jia
2009-10-13 10:50 ` Subrata Modak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox