Whamcloud - gitweb
LU-16936 auster: add --client-only option
[fs/lustre-release.git] / lustre / tests / replay-single-lmv.sh
index 63ec67a..8c9113a 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 
 LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
-init_test_env $@
+init_test_env "$@"
 
 # bug number for skipped test:
 ALWAYS_EXCEPT="REPLAY_SINGLE_LMV_EXCEPT "
@@ -32,11 +32,7 @@ fi
 
 mkdir -p $DIR
 
-# LU-482 Avert LVM and VM inability to flush caches in pre .33 kernels
-if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then
-    sync
-    do_facet $SINGLEMDS sync
-fi
+force_new_seq_all
 
 test_0() {
     replay_barrier mds1
@@ -106,6 +102,6 @@ test_3b() {
 }
 run_test 3b "mkdir cross-node dir (fail mds with inode)"
 
-complete $SECONDS
+complete_test $SECONDS
 $CLEANUP