Whamcloud - gitweb
EX-8981 tests: skip sanity-lfsck/18i if no CSDC
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 14 Apr 2024 06:29:13 +0000 (00:29 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 15 Apr 2024 09:52:49 +0000 (09:52 +0000)
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 <adilger@whamcloud.com>
Change-Id: I32b701ac91f072137f9f61d2cca39482f40b5ce5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54780
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
lustre/tests/sanity-lfsck.sh

index cf751d6..a688c01 100755 (executable)
@@ -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