X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=454ed6eecc801b68a7f2b599a94e6a8968ad7324;hb=d9753b5ba6ad29fd8958a47b462d2fa594ba1145;hp=98f351036b2ab26985a2ca0fc22b2dec323487c0;hpb=a15fe9d88d5277f502c481252f469fabc71d2c42;p=fs%2Flustre-release.git diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 98f3510..454ed6e 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,14 +1,7 @@ -#!/bin/sh +#!/bin/bash -LCONF=${LCONF:-../utils/lconf} -NAME=${NAME:-local} - -config=$NAME.xml -mkconfig=./$NAME.sh - -if [ ! -f $config -o $mkconfig -nt $config ]; then - sh $mkconfig $config || exit 1 -fi - -${LCONF} --cleanup --dump /tmp/debug $config +LUSTRE=${LUSTRE:-$(dirname $0)/..} +. $LUSTRE/tests/test-framework.sh +init_test_env $@ +cleanupall -f