X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=076faa7be7c1fe7dea8fdf9ec1e261fcbb690679;hb=6ec1dc57076e960d6f3c9fbe8e8a32a08312ca8e;hp=6b861a4176301de82c2b921e4e79fdda7aab786a;hpb=932054771a4979cf35f22da140b6156d099501c2;p=fs%2Flustre-release.git diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 6b861a4..076faa7 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,6 +1,10 @@ -#!/bin/sh +#!/bin/bash +export PATH=`dirname $0`/../utils:$PATH +NAME=${NAME:-local} -SRCDIR="`dirname $0`/" -. $SRCDIR/common.sh +LUSTRE=${LUSTRE:-`dirname $0`/..} +. $LUSTRE/tests/test-framework.sh +init_test_env $@ +. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} -. $SRCDIR/llcleanup.sh $SRCDIR/net-local.cfg $SRCDIR/mds.cfg $SRCDIR/obdfilter.cfg $SRCDIR/client-mount.cfg $SRCDIR/ldlm.cfg || exit 2 \ No newline at end of file +cleanupall -f