X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllrmount.sh;h=9a5cbfa52a12a4ffa4e547cdf20b2ea46f5aea70;hb=6815097cbb06aa1a727e6bf7a8ee9e916a33ee6d;hp=b12c1aebe562e46e2b84945bf4b4a34a2d4c4656;hpb=96ec6856f91f7f9031cfce4273c714d72cfe59ae;p=fs%2Flustre-release.git diff --git a/lustre/tests/llrmount.sh b/lustre/tests/llrmount.sh index b12c1ae..9a5cbfa 100755 --- a/lustre/tests/llrmount.sh +++ b/lustre/tests/llrmount.sh @@ -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 +