X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=454ed6eecc801b68a7f2b599a94e6a8968ad7324;hp=136f507556f161705895f236fda04ffa52973adb;hb=301d76a71176c186129231ddd1323bae21100165;hpb=cbde684c4a9b851d4e1ac17c4e323878a8eb4410 diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 136f507..454ed6e 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,10 +1,7 @@ -#!/bin/sh +#!/bin/bash -LCONF=../utils/lconf - -if [ ! -f local.xml ]; then - ./local.sh -fi - -${LCONF} --cleanup local.xml +LUSTRE=${LUSTRE:-$(dirname $0)/..} +. $LUSTRE/tests/test-framework.sh +init_test_env $@ +cleanupall -f