From 88e63f1593f5e69adcbda00ff29429e6471856ec Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 12 Aug 2016 10:08:46 -0700 Subject: [PATCH] fix upgrade test (broken by recent nogpgcheck commit) in the recent commit to always use nogpgcheck I inadvertently broke the upgrade tests, by dropping the `--releasever` from the `dnf system-upgrade download` command. So fix that. --- tests/upgrade_run.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/upgrade_run.pm b/tests/upgrade_run.pm index 6b57778f..c1f8c0e2 100644 --- a/tests/upgrade_run.pm +++ b/tests/upgrade_run.pm @@ -4,10 +4,11 @@ use testapi; sub run { my $self = shift; + my $release = lc(get_var("VERSION")); # disable screen blanking (download can take a long time) script_run "setterm -blank 0"; - assert_script_run "dnf -y --nogpgcheck system-upgrade download", 6000; + assert_script_run "dnf -y --nogpgcheck --releasever=${release} system-upgrade download", 6000; upload_logs "/var/log/dnf.log"; upload_logs "/var/log/dnf.rpm.log";