Whamcloud - gitweb
b=24413 fix for automake > 1.9.6
[fs/lustre-release.git] / lustre / tests / llmountcleanup.sh
index 417a436..076faa7 100755 (executable)
@@ -1,10 +1,10 @@
-#!/bin/sh
-
+#!/bin/bash
 export PATH=`dirname $0`/../utils:$PATH
+NAME=${NAME:-local}
 
 LUSTRE=${LUSTRE:-`dirname $0`/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env $@
-. ${CONFIG:=$LUSTRE/tests/cfg/local.sh}
+. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
-cleanupall
+cleanupall -f