Whamcloud - gitweb
LU-2024 tests: skip OI scrub tests until the tag 2.2.90
[fs/lustre-release.git] / lustre / tests / sanity-scrub.sh
index a5647d3..1b2c6cd 100644 (file)
@@ -17,10 +17,10 @@ init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 init_logging
 
-[ "${MDSFSTYPE:-$FSTYPE}" != "ldiskfs" ] &&
+[ $(facet_fstype $SINGLEMDS) != ldiskfs ] &&
        skip "test OI scrub only for ldiskfs" && exit 0
-[[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.3.0) ]] ||
-       skip "Need MDS version at least 2.3.0" && exit 0
+[[ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.2.90) ]] &&
+       skip "Need MDS version at least 2.2.90" && exit 0
 require_dsh_mds || exit 0
 
 SAVED_MDSSIZE=${MDSSIZE}