mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +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:
parent
bc3402397d
commit
88e63f1593
@ -4,10 +4,11 @@ use testapi;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $release = lc(get_var("VERSION"));
|
||||||
# disable screen blanking (download can take a long time)
|
# disable screen blanking (download can take a long time)
|
||||||
script_run "setterm -blank 0";
|
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.log";
|
||||||
upload_logs "/var/log/dnf.rpm.log";
|
upload_logs "/var/log/dnf.rpm.log";
|
||||||
|
Loading…
Reference in New Issue
Block a user