From: Andreas Dilger Date: Sun, 14 Apr 2024 06:29:13 +0000 (-0600) Subject: EX-8981 tests: skip sanity-lfsck/18i if no CSDC X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=539e851f559333840344a5ab65c03fa994e4d328;p=fs%2Flustre-release.git EX-8981 tests: skip sanity-lfsck/18i if no CSDC Skip sanity-lfsck test_18i if compression is not enabled/available. Test-Parameters: trivial Test-Parameters: testlist=sanity-lfsck env=ONLY=18,HONOR_EXCEPT=y clientdistro=el8.8 clientarch=aarch64 Signed-off-by: Andreas Dilger Change-Id: I32b701ac91f072137f9f61d2cca39482f40b5ce5 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54780 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Artem Blagodarenko --- diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index cf751d6..a688c01 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -3039,6 +3039,7 @@ run_test 18h "LFSCK can repair crashed PFL extent range" test_18i() { (( $MDS1_VERSION >= $(version_code 2.14.0-ddn137) )) || skip "Need MDS version at least 2.14.0-ddn137" + compression_enabled || skip "compression is disabled ($(uname -a))" local tfile=$DIR/$tdir/f0 local guard=$DIR/$tdir/guard