From cc2c3bbbd2caad36001e551cf5cfdf85e8fbabbd 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 (cherry picked from commit e45e645fd09d1fff4d2395441000e6e01a0613d1) (cherry picked from commit 31b260ccf23b4cf3afbe42405dd2ae1e5da0496b) --- 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 f1c84085..5d1a8fac 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