Whamcloud - gitweb
LU-3369 scrub: skip test_1a for old 2.x (x <= 3) release
authorFan Yong <yong.fan@whamcloud.com>
Mon, 13 May 2013 10:53:24 +0000 (18:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 May 2013 16:25:10 +0000 (12:25 -0400)
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 <fan.yong@intel.com>
Change-Id: I17752be675bdda76588c55c38c20c37a009eff00
Reviewed-on: http://review.whamcloud.com/6417
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
lustre/tests/sanity-scrub.sh

index ba0ca9a..9d12686 100644 (file)
@@ -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"