Don't do live build postinstall steps on the install tests

It's not going to work there. Use the test name not the flavor
name to match on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-04-12 18:54:36 -07:00
parent c043fb6189
commit 2754deb28a

View File

@ -114,7 +114,7 @@ sub post_fail_hook {
upload_logs "/root/imgbuild/program.log", failok=>1;
}
if (get_var("FLAVOR") eq "updates-workstation-live-iso") {
if (get_var("TEST") eq "live_build") {
# for live image creation test
script_run "df -h";
script_run 'mock -r openqa --chroot "ls -l /chroot_tmpdir/lmc-logs/anaconda"';