From 818b67cbf9dfad8e6c5b1af8ffc229fe1e3c8117 Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Sun, 27 Oct 2013 04:56:28 +0800 Subject: [PATCH] LU-4165 tests: skip sanity-lfsck test_2c for 2.4 or older It makes no sense to run sanity-lfsck test_2c against 2.4 or older. Test-Parameters: mdsjob=lustre-b2_4 ossjob=lustre-b2_4 mdsbuildno=58 ossbuildno=58 testlist=sanity-lfsck Signed-off-by: Fan Yong Change-Id: I96792b4325a69f880e326dc8963cf3e6bd09bf87 Reviewed-on: http://review.whamcloud.com/8386 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Jian Yu --- lustre/tests/sanity-lfsck.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index b5657e6..4d203d6 100644 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -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 -- 1.8.3.1