1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

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.
This commit is contained in:
Adam Williamson 2016-08-12 10:08:46 -07:00
parent bc3402397d
commit 88e63f1593

View File

@ -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";