Skip to content

Commit

Permalink
test: replace openscap with compliance in rhsm facts
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k authored and thozza committed Sep 17, 2024
1 parent 2a6fe91 commit b0c0e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/api/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0c0e84

Please sign in to comment.