X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=076faa7be7c1fe7dea8fdf9ec1e261fcbb690679;hb=e3d507eec50fc1ff79acf2a9f93d52d698c887d7;hp=7621fbaf0e2525fdc0ce6de2040c764209b94e97;hpb=6561016a336a592d9c4196356a63d9ebf972e2be;p=fs%2Flustre-release.git diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 7621fba..076faa7 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,46 +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} -umount /mnt/obd - -rmmod llight -rmmod mdc - -$R/usr/src/obd/utils/obdctl <