From f036521016a98e9b31d4248d50b53d356262a56f Mon Sep 17 00:00:00 2001 From: Lukas Zapletal Date: Mon, 9 Dec 2024 12:00:32 +0100 Subject: [PATCH] blueprint: fix CA cert testing --- test/config-map.json | 3 ++- test/scripts/base-host-check.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/config-map.json b/test/config-map.json index e97d02ee45..c4477c258a 100644 --- a/test/config-map.json +++ b/test/config-map.json @@ -8,7 +8,8 @@ "fedora*" ], "image-types": [ - "qcow2" + "qcow2", + "ami" ] }, "./configs/all-with-fips.json": { diff --git a/test/scripts/base-host-check.sh b/test/scripts/base-host-check.sh index 0c3de336c3..9ab1101180 100755 --- a/test/scripts/base-host-check.sh +++ b/test/scripts/base-host-check.sh @@ -89,7 +89,7 @@ check_ca_cert() { fi echo "📗 Checking extracted CA cert file" - if ! [ -e "/etc/pki/ca-trust/source/extracted/pem/directory-hash/Test_CA_for_osbuild.pem.pem" ]; then + if ! [ -e "/etc/pki/ca-trust/source/extracted/pem/directory-hash/Test_CA_for_osbuild.pem" ]; then echo "Extracted CA file does not exist" exit 1 fi