From b735c8ce0cc634b4648047e6ca9df80965e1c0d6 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 8 Apr 2019 12:12:28 +0300 Subject: [PATCH] Add new test to verify compose paths exist because they are mentioned in the official documentation Related: rhbz#1698368 --- tests/cli/test_compose_sanity.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/cli/test_compose_sanity.sh b/tests/cli/test_compose_sanity.sh index c45eb079..9ecf783b 100755 --- a/tests/cli/test_compose_sanity.sh +++ b/tests/cli/test_compose_sanity.sh @@ -36,6 +36,11 @@ rlJournalStart rlRun -t -c "$CLI compose image $UUID" rlAssertExists "$UUID-root.tar.xz" + + # because this path is listed in the documentation + rlAssertExists "/var/lib/lorax/composer/results/$UUID/" + rlAssertExists "/var/lib/lorax/composer/results/$UUID/root.tar.xz" + rlAssertNotDiffer "/var/lib/lorax/composer/results/$UUID/root.tar.xz" "$UUID-root.tar.xz" else rlFail "Compose UUID is empty!" fi