Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2446 build: Update Whamcloud copyright messages for Intel
[fs/lustre-release.git]
/
lustre
/
tests
/
llmountcleanup.sh
diff --git
a/lustre/tests/llmountcleanup.sh
b/lustre/tests/llmountcleanup.sh
index
136f507
..
076faa7
100755
(executable)
--- a/
lustre/tests/llmountcleanup.sh
+++ b/
lustre/tests/llmountcleanup.sh
@@
-1,10
+1,10
@@
-#!/bin/sh
+#!/bin/bash
+export PATH=`dirname $0`/../utils:$PATH
+NAME=${NAME:-local}
-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 $@
+. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
+cleanupall -f