From 35c42da79bbd68644933dd0ca1cc3f36009c2b3e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 7 Dec 2015 15:46:20 -0800 Subject: [PATCH] add a comment explaining a perl-ism this was requested by jskladan in D650, I forgot to add it before committing. --- tests/upgrade_run.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/upgrade_run.pm b/tests/upgrade_run.pm index 9b558cf8..d1514779 100644 --- a/tests/upgrade_run.pm +++ b/tests/upgrade_run.pm @@ -23,6 +23,7 @@ sub run { upload_logs "/var/log/dnf.rpm.log"; script_run "dnf system-upgrade reboot"; + # fail immediately if we see a DNF error message die "DNF reported failure" if (check_screen "upgrade_fail"); # now offline upgrading starts. user doesn't have to do anything, just wait untill