Add new test to verify compose paths exist
because they are mentioned in the official documentation Related: rhbz#1698366
This commit is contained in:
parent
ff7d7c2d49
commit
83707bfa06
@ -36,6 +36,11 @@ rlJournalStart
|
|||||||
|
|
||||||
rlRun -t -c "$CLI compose image $UUID"
|
rlRun -t -c "$CLI compose image $UUID"
|
||||||
rlAssertExists "$UUID-root.tar.xz"
|
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
|
else
|
||||||
rlFail "Compose UUID is empty!"
|
rlFail "Compose UUID is empty!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user