Whamcloud - gitweb
EX-9871 tests: skip sanity-compr 1007 and 1008
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 31 May 2024 08:54:10 +0000 (11:54 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 6 Jun 2024 08:18:10 +0000 (08:18 +0000)
if needed tools are not installed

Test-Parameters: trivial
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I0dc3d44c300708f3a25bfce06b81993cdd30c418
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55273
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-compr.sh

index ed8d0c3..a5b6f2a 100644 (file)
@@ -981,7 +981,7 @@ test_1007() {
                esac
        done
 
-       [[ -n "${compr_types}" ]] || error "no compression tools installed"
+       [[ -n "${compr_types}" ]] || skip_env "no compression tools installed"
 
        local tf=$DIR/$tfile
        local hdf=$LUSTRE/tests/AMSR_E_L3_DailyOcean_V05_20111003.hdf
@@ -1113,7 +1113,7 @@ test_1008() {
                esac
        done
 
-       [[ -n "${compr_types}" ]] || error "no compression tools installed"
+       [[ -n "${compr_types}" ]] || skip_env "no compression tools installed"
 
        local compr_levels=(
                1