Add new test to verify compose paths exist

because they are mentioned in the official documentation

(cherry picked from commit e45e645fd0)
This commit is contained in:
Alexander Todorov 2019-04-08 12:12:28 +03:00 committed by Brian C. Lane
parent ce549d861d
commit 31b260ccf2
1 changed files with 5 additions and 0 deletions

View File

@ -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