From 83707bfa068194ac4f2c19d8b58f6e203762e8e8 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#1698366 --- 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 7d242fe5..c6de519f 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