From 6aa11ee23f7bbb5523e50be7805af8da520b1298 Mon Sep 17 00:00:00 2001 From: Simon THOBY Date: Sat, 4 Feb 2023 11:59:03 +0100 Subject: [PATCH] Enable SCE integrity checks for RHEL8 This was made possible by the integration of the ssh_keys_passphrase_protected SCE check in https://github.com/ComplianceAsCode/content/pull/10017. --- cmake/SSGCommon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake index 6ca61cb1097..a372cdd894b 100644 --- a/cmake/SSGCommon.cmake +++ b/cmake/SSGCommon.cmake @@ -522,7 +522,7 @@ macro(ssg_build_sds PRODUCT) set_tests_properties("missing-references-ssg-${PRODUCT}-ds.xml" PROPERTIES LABELS quick) endif() - if("${PRODUCT}" MATCHES "ubuntu2004" AND SSG_SCE_ENABLED) + if(("${PRODUCT}" MATCHES "ubuntu2004" OR "${PRODUCT}" MATCHES "rhel8") AND SSG_SCE_ENABLED) add_test( NAME "ds-sce-${PRODUCT}" COMMAND env "PYTHONPATH=$ENV{PYTHONPATH}" "${PYTHON_EXECUTABLE}" "${CMAKE_SOURCE_DIR}/tests/test_ds_sce.py" "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}/ssg-${PRODUCT}-ds.xml"