From b0c0e8414272e98e12091fd6cc7080723e6ac3df Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Tue, 17 Sep 2024 19:22:24 +0200 Subject: [PATCH] test: replace openscap with compliance in rhsm facts See https://github.com/osbuild/images/pull/914 --- test/cases/api/common/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/api/common/common.sh b/test/cases/api/common/common.sh index e4f351453..636fb00ae 100644 --- a/test/cases/api/common/common.sh +++ b/test/cases/api/common/common.sh @@ -60,7 +60,7 @@ function _instanceCheck() { fi if [ -n "$OPENSCAP_CUSTOMIZATION_BLOCK" ]; then - if ! grep -q "image-builder.insights.openscap-profile-id: pci-dss" <<< "$FACTS"; then + if ! grep -q "image-builder.insights.compliance-profile-id: pci-dss" <<< "$FACTS"; then echo "System doesn't contain the expected image-builder.insights facts (profile-id)" echo "$FACTS"| grep image-builder exit 1