Whamcloud - gitweb
LU-7421 utils: getparam_display() should reset popt
[fs/lustre-release.git] / lustre / tests / replay-vbr.sh
index 0b160e3..a6301a3 100644 (file)
@@ -7,6 +7,12 @@ set -e
 # bug number:  16356
 ALWAYS_EXCEPT="12a   $REPLAY_VBR_EXCEPT"
 
+case "$(lsb_release -sr)" in   # only disable tests for el7
+7*)    # bug number:  LU-6455
+       ALWAYS_EXCEPT="$ALWAYS_EXCEPT 4i 4j 4k 10b"
+       ;;
+esac
+
 SAVE_PWD=$PWD
 LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
 SETUP=${SETUP:-}
@@ -727,11 +733,11 @@ test_7_cycle() {
     # should fail as conflict expected
     client_evicted $CLIENT1 || rc=1
 
-    wait_recovery_complete $SINGLEMDS
+       wait_recovery_complete $SINGLEMDS
        wait_mds_ost_sync || error "wait_mds_ost_sync failed"
 
-    rm -rf $DIR/$tdir
-    return $rc
+       rm -rf $DIR/$tdir
+       return $rc
 }
 
 test_7a() {
@@ -887,7 +893,7 @@ test_7g() {
     first="createmany -o $DIR/$tdir/$tfile- 1; mv $DIR/$tdir/$tfile-0 $DIR/$tdir/$tfile"
     lost="createmany -o $MOUNT2/$tdir/$tfile- 1"
     last="link $DIR/$tdir/$tfile-0 $DIR/$tdir/$tfile-1"
-       if [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.5.52) ]
+       if [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.5.1) ]
        then
                test_7_cycle "$first" "$lost" "$last" ||
                        error "Test 7g.3 failed"