test/cross-distro: remove unnecessary condition for composer < v97

This test case is no longer being run with an osbuild-composer version
lower than v97, so there's no need to special case it.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-03-18 10:59:47 +01:00 committed by Simon de Vlieger
parent d90399c260
commit 856bdd3c74

View file

@ -173,11 +173,7 @@ EOF
# there is a different reponse if legacy composer-cli is used
if rpm -q --quiet weldr-client; then
if nvrGreaterOrEqual "osbuild-composer" "97"; then
EXPECTED_RESPONSE="ERROR: BlueprintsError: '$REMAINING_DISTRO' is not a valid distribution (architecture '$(uname -m)')"
else
EXPECTED_RESPONSE="ERROR: BlueprintsError: '$REMAINING_DISTRO' is not a valid distribution"
fi
EXPECTED_RESPONSE="ERROR: BlueprintsError: '$REMAINING_DISTRO' is not a valid distribution (architecture '$(uname -m)')"
else
EXPECTED_RESPONSE="'$REMAINING_DISTRO' is not a valid distribution"
RESPONSE=${RESPONSE#*: }