From 97b2c86bb06a949e37585dbddb3046773af09cb2 Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Mon, 13 May 2013 18:53:24 +0800 Subject: [PATCH] LU-3369 scrub: skip test_1a for old 2.x (x <= 3) release Lustre-2.3 or older does not support initial OI scrub, so skip related sanity-scrub test_1a. Test-Parameters: testlist=sanity-scrub Signed-off-by: Fan Yong Change-Id: I17752be675bdda76588c55c38c20c37a009eff00 Reviewed-on: http://review.whamcloud.com/6417 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Jian Yu --- lustre/tests/sanity-scrub.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-scrub.sh b/lustre/tests/sanity-scrub.sh index ba0ca9a..9d12686 100644 --- a/lustre/tests/sanity-scrub.sh +++ b/lustre/tests/sanity-scrub.sh @@ -35,6 +35,9 @@ check_and_setup_lustre skip "Need MDS version at least 2.2.90" && check_and_cleanup_lustre && exit 0 +[[ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.3.90) ]] && + ALWAYS_EXCEPT="$ALWAYS_EXCEPT 1a" + build_test_filter MDT_DEV="${FSNAME}-MDT0000" -- 1.8.3.1