From 812b331743d645afebfeb3a05fbefdbcfc4e9e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Tue, 13 Aug 2024 09:51:48 +0200 Subject: [PATCH] test/libvirt.sh: don't test openstack image on el10 / c10s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's no openstack image type on el10 / c10s any more. Signed-off-by: Tomáš Hozza --- test/cases/libvirt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cases/libvirt.sh b/test/cases/libvirt.sh index c158ada58..d1481f26f 100644 --- a/test/cases/libvirt.sh +++ b/test/cases/libvirt.sh @@ -15,7 +15,8 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh /usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2 # Fedora's openstack image is an alias of qcow2, we don't need to test it separately -if [[ "$ID" != "fedora" ]] ; then +# el10 / c10s no longer has an openstack image type +if [[ ("$ID" == "rhel" || "$ID" == "centos") && ${VERSION_ID%.*} -lt 10 ]] ; then /usr/libexec/osbuild-composer-test/libvirt_test.sh openstack fi