From: James Nunez Date: Thu, 10 Jun 2021 21:05:18 +0000 (-0600) Subject: LU-14533 tests: skip sanity-pfl 0d for older servers X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=704e70a3216d46749fa8e00ecbe473dbf64839dc;p=fs%2Flustre-release.git LU-14533 tests: skip sanity-pfl 0d for older servers sanity-pfl test 0d was added in commit v2_14_0-39-gd645373541. When we run version interop testing with servers with version less than this, the test will fail. We should skip sanity-pfl test 0d if the Lustre server version is less than 2.14.0.1. Lustre-change: https://review.whamcloud.com/43971 Lustre-commit: 06d2128b3bd0a3ec45e5d54cad29c310ae3ded7c Fixes: 83e38bba62 ("LU-14180 utils: verify setstripe comp_end is valid") Test-Parameters: trivial testlist=sanity-pfl Signed-off-by: James Nunez Change-Id: I49b45c7a1e4804fece33d53a4fb946b49254de2b Reviewed-by: Andreas Dilger Reviewed-by: Vikentsi Lapa Reviewed-on: https://review.whamcloud.com/44274 Tested-by: Maloo Tested-by: jenkins --- diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index 601846d..d786d02 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -129,6 +129,9 @@ test_0c() { run_test 0c "Verify SEL comp stripe count limits" test_0d() { + (( $MDS1_VERSION >= $(version_code 2.14.0.1) )) || + skip_env "Need MDS version at least 2.14.0.1" + local td=$DIR/$tdir local tf=$td/$tfile local comp_end