Whamcloud - gitweb
* vibnal fixes
[fs/lustre-release.git] / lustre / tests / llrmount.sh
index b12c1ae..9a5cbfa 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
 
-LCONF=${LCONF:-../utils/lconf}
+export PATH=`dirname $0`/../utils:$PATH
+
+LCONF=${LCONF:-lconf}
 NAME=${NAME:-local}
+LLMOUNT=${LLMOUNT:-llmount}
 
 config=$NAME.xml
 mkconfig=$NAME.sh
@@ -25,4 +28,9 @@ fi
 
 [ "$NODE" ] && node_opt="--node $NODE"
 
-${LCONF} $portals_opt $lustre_opt $node_opt --gdb $conf_opt || exit 2
+${LCONF} $NOMOD $portals_opt $lustre_opt $node_opt $@ $conf_opt || exit 2
+
+if [ "$MOUNT2" ]; then
+       $LLMOUNT -v `hostname`:/mds1/client $MOUNT2 || exit 3
+fi
+