From ce9b75ac876bd02c143ebb3f36b65a51801c2143 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Wed, 7 Aug 2024 16:30:44 +0200 Subject: [PATCH] tests/api: Remove openscap profile for el-10 Currently there are no openscap profiles for el-10. --- test/cases/api.sh | 6 ++++++ test/cases/api/common/common.sh | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/cases/api.sh b/test/cases/api.sh index eb1c89e2c..b6ec213e0 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -416,6 +416,12 @@ EOF ) ;; esac + +# TODO: Remove once Openscap works on el-10 +if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then + yellowprint "OpenSCAP not supported on ${ID}-${VERSION_ID} now. No openscap profile applied!" + OPENSCAP_CUSTOMIZATION_BLOCK= +fi export OPENSCAP_CUSTOMIZATION_BLOCK TIMEZONE_CUSTOMIZATION_BLOCK=$(cat <