Whamcloud - gitweb
Added support to specify the lustre obj dir.
authoramrutjoshi <amrutjoshi>
Fri, 14 Feb 2003 18:45:32 +0000 (18:45 +0000)
committeramrutjoshi <amrutjoshi>
Fri, 14 Feb 2003 18:45:32 +0000 (18:45 +0000)
lustre/tests/llmount.sh
lustre/tests/llmountcleanup.sh
lustre/tests/llrmount.sh

index 1e2bd6a..bc2a5e7 100755 (executable)
@@ -11,8 +11,12 @@ if [ "$PORTALS" ]; then
   portals_opt="--portals=$PORTALS"
 fi
 
+if [ "$LUSTRE" ]; then
+  lustre_opt="--lustre=$LUSTRE"
+fi
+
 [ -x $LCONF ] || chmod a+rx $LCONF
 
 sh $mkconfig $config || exit 1
 
-${LCONF} $portals_opt --reformat --gdb $config || exit 2
+${LCONF} $portals_opt $lustre_opt --reformat --gdb $config || exit 2
index 8d4fa52..cd28d21 100755 (executable)
@@ -11,12 +11,16 @@ if [ "$PORTALS" ]; then
   portals_opt="--portals=$PORTALS"
 fi
 
+if [ "$LUSTRE" ]; then
+  lustre_opt="--lustre=$LUSTRE"
+fi
+
 if [ ! -f $config ]; then
    sh $mkconfig $config || exit 1
 fi
 
 sync; sleep 2; sync
-${LCONF} $portals_opt --cleanup --dump $TMP/debug $config
+${LCONF} $portals_opt $lustre_opt --cleanup --dump $TMP/debug $config
 rc=$?
 BUSY=`dmesg | grep -i destruct`
 if [ "$BUSY" ]; then
index 9bf287e..6531055 100755 (executable)
@@ -10,8 +10,12 @@ if [ "$PORTALS" ]; then
   portals_opt="--portals=$PORTALS"
 fi
 
+if [ "$LUSTRE" ]; then
+  lustre_opt="--lustre=$LUSTRE"
+fi
+
 if [ ! -f $config -o $mkconfig -nt $config ]; then
    sh $mkconfig $config || exit 1
 fi
 
-${LCONF} $portals_opt --gdb $config || exit 2
+${LCONF} $portals_opt $lustre_opt --gdb $config || exit 2