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:
parent
d90399c260
commit
856bdd3c74
1 changed files with 1 additions and 5 deletions
|
|
@ -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#*: }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue