Whamcloud - gitweb
LU-4165 tests: skip sanity-lfsck test_2c for 2.4 or older
[fs/lustre-release.git] / lustre / tests / sanity-lfsck.sh
index b5657e6..4d203d6 100644 (file)
@@ -35,6 +35,9 @@ check_and_setup_lustre
        skip "Need MDS version at least 2.3.60" && check_and_cleanup_lustre &&
        exit 0
 
+[[ $(lustre_version_code $SINGLEMDS) -le $(version_code 2.4.90) ]] &&
+       ALWAYS_EXCEPT="$ALWAYS_EXCEPT 2c"
+
 build_test_filter
 
 $LCTL set_param debug=+lfsck > /dev/null || true