[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-cvs
Subject:    [Lustre-cvs] CVS: obd/tests runregression-net.sh,1.1,1.2
From:       Andreas Dilger <adilger () users ! sourceforge ! net>
Date:       2002-04-30 18:28:53
[Download RAW message or body]

Update of /cvsroot/lustre/obd/tests
In directory usw-pr-cvs1:/tmp/cvs-serv12632/tests

Modified Files:
	runregression-net.sh 
Log Message:
Fix OSC_DEVNO.  It was set initially in the inferior environment variable
config method, but we can name devices now.  It is still convenient to
save this value to avoid having to get it for each test.  Maybe the
--thread and --device code can be changed to support device names directly
(if they don't already by virtue of using the same device setup code).


Index: runregression-net.sh
===================================================================
RCS file: /cvsroot/lustre/obd/tests/runregression-net.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- runregression-net.sh	11 Apr 2002 10:05:33 -0000	1.1
+++ runregression-net.sh	30 Apr 2002 18:28:51 -0000	1.2
@@ -1,7 +1,7 @@
 #!/bin/sh
 export PATH=/sbin:/usr/sbin:$PATH
 
-SRCDIR="`dirname $0`"
+SRCDIR="`dirname $0`/"
 . $SRCDIR/common.sh
 
 setup_opts $@
@@ -20,6 +20,8 @@
 
 	setup_server || exit -1
 	setup_client || exit -1
+
+	OSC_DEVNO=`$OBDCTL name2dev OSCDEV`
 
 	# We use '--threads 1 X' instead of '--device X' so that
 	# obdctl can modnitor the forked thread for progress (TODO).


_______________________________________________
Lustre-cvs mailing list
Lustre-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lustre-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic