Whamcloud - gitweb
LU-1538 tests: standardize test script init – misc tests
[fs/lustre-release.git] / lustre / tests / dne_sanity.sh
index 0c1d640..adce2e7 100644 (file)
@@ -5,24 +5,21 @@
 
 set -e
 
-SRCDIR=$(cd $(dirname $0); echo $PWD)
-PATH=$PWD/$SRCDIR:$SRCDIR:$SRCDIR/../utils:$PATH
+SRCDIR=$(dirname $0)
 
-SAVE_PWD=$PWD
-
-LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
+LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env $@
-. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 init_logging
 
+ALWAYS_EXCEPT="$DNE_SANITY_EXCEPT "
+build_test_filter
+
 PARALLEL_RUNS=${PARALLEL_RUNS:-2}
 FAIL_ON_ERROR=false
 
 check_and_setup_lustre
 
-build_test_filter
-
 DIR=${DIR:-$MOUNT}
 
 ORIGIN_DIR=$DIR