From 2754deb28a63bf0dc0838cbe833613e33b2d0a09 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 12 Apr 2019 18:54:36 -0700 Subject: [PATCH] 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 --- lib/installedtest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installedtest.pm b/lib/installedtest.pm index e61b5d06..2527bbcb 100644 --- a/lib/installedtest.pm +++ b/lib/installedtest.pm @@ -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"';