From 24ec64e69659741839dd74bb24cc42f8dff4b0bb Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Mon, 3 Mar 2014 03:06:56 +0800 Subject: [PATCH] LU-4167 tests: update version check to conf-sanity test_32 This patch updates version check codes to skip running LFSCK on an OST for versions >= 2.5.0 in conf-sanity.sh test_32. Test-Parameters: testlist=conf-sanity envdefinitions=SLOW=yes, ONLY=32 ossjob=lustre-b2_4 mdsjob=lustre-b2_4 ossbuildno=71 mdsbuildno=71 clientdistro=el6 ossdistro=el6 mdsdistro=el6 clientarch=x86_64 ossarch=x86_64 mdsarch=x86_64 Signed-off-by: Emoly Liu Change-Id: Ibc0c34a0c15f4882a0dd06dae75d1f1fe10b6f16 Reviewed-on: http://review.whamcloud.com/8132 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Fan Yong Reviewed-by: Andreas Dilger --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index b902571..3b2370e 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1615,7 +1615,7 @@ t32_test() { echo " Arch: $img_arch" local version=$(version_code $img_commit) - [[ $version -gt $(version_code 2.4.0) ]] && ff_convert="no" + [[ $version -ge $(version_code 2.5.0) ]] && ff_convert="no" if [ $fstype == "zfs" ]; then # import pool first -- 1.8.3.1