From: Hushan Jia <hjia@redhat.com>
To: ltp-list <ltp-list@lists.sourceforge.net>
Subject: [LTP] [PATCH] network: fix rpc use rsh instead of ssh
Date: Tue, 13 Oct 2009 11:26:46 +0800 [thread overview]
Message-ID: <4AD3F376.9080506@redhat.com> (raw)
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
next reply other threads:[~2009-10-13 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 3:26 Hushan Jia [this message]
2009-10-13 10:50 ` [LTP] [PATCH] network: fix rpc use rsh instead of ssh Subrata Modak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD3F376.9080506@redhat.com \
--to=hjia@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox