From b72bb63599172a68723159f971cce5f6d50911e1 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 29 Nov 2019 15:05:51 +0200 Subject: [PATCH] tests: Don't check example blueprints if we don't have to ATM osbuild-composer doesn't ship example blueprints Cherry-picked from d68e01b7e129e53df4ead5a31bf417ec81f2bb7b Related: rhbz#1825190 --- tests/cli/test_blueprints_sanity.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/cli/test_blueprints_sanity.sh b/tests/cli/test_blueprints_sanity.sh index 566c464f..2847e1ec 100755 --- a/tests/cli/test_blueprints_sanity.sh +++ b/tests/cli/test_blueprints_sanity.sh @@ -11,10 +11,12 @@ CLI="${CLI:-./src/bin/composer-cli}" rlJournalStart rlPhaseStartTest "blueprints list" - for bp in example-http-server example-development example-atlas; do - rlAssertEquals "blueprint list finds $bp" \ - "`$CLI blueprints list | grep $bp`" "$bp" - done + if [ "$BACKEND" != "osbuild-composer" ]; then + for bp in example-http-server example-development example-atlas; do + rlAssertEquals "blueprint list finds $bp" \ + "`$CLI blueprints list | grep $bp`" "$bp" + done + fi rlPhaseEnd rlPhaseStartTest "blueprints save"