[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/network/tcp_cmds/rlogin rlogin01,1.2,1.3
From: robbiew () users ! sourceforge ! net
Date: 2004-01-14 15:34:23
Message-ID: E1Agn2F-0005X0-00 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/network/tcp_cmds/rlogin
In directory sc8-pr-cvs1:/tmp/cvs-serv21026/testcases/network/tcp_cmds/rlogin
Modified Files:
rlogin01
Log Message:
Applied patch from Hubert Lin:
==============================
Hi,
These 2 scripts create a file /tmp/<ruser>.<rhost> on the remote machine, and check \
if the content is what we expected. But the scripts check /tmp/<ruser>.<rhost> on the \
local test machine rather than that on the remote one, therefore the test will \
eventually fail. Patch within. ==============================
Index: rlogin01
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/network/tcp_cmds/rlogin/rlogin01,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rlogin01 25 Sep 2003 14:45:27 -0000 1.2
+++ rlogin01 14 Jan 2004 15:34:21 -0000 1.3
@@ -88,11 +88,10 @@
exp_send "logout\r"
send_user "CHECKING RLOGIN STATUS\n"
- send "cat $TESTLOG/$RUSER.$RHOST\n"
- set nummatch [exec grep -c "9" $TESTLOG/$RUSER.$RHOST]
+ set nummatch [exec rsh -n -l $RUSER $RHOST "cat $TESTLOG/$RUSER.$RHOST|grep -c \
9"] if {$nummatch==1} {
send_user "$TC interactive Test Successful in LOOP $count\r"
- exec rm -rf $TESTLOG/$RUSER.$RHOST
+ exec rsh -n -l $RUSER $RHOST "rm -f $TESTLOG/$RUSER.$RHOST"
} else {
send_user "$TC interactive session FAILED\r"
exit 1
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Ltp-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic