test/libvirt.sh: don't test openstack image on el10 / c10s

There's no openstack image type on el10 / c10s any more.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2024-08-13 09:51:48 +02:00 committed by Tomáš Hozza
parent 84c2758871
commit 812b331743

View file

@ -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