mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
5cd9c83e73
When running these tests on updates we inherit the main disk image from server_cockpit_default, which has the repo config, but the actual repo data is on HDD_3 which is not inherited. We need to re-download the updates here to ensure they're available to the tests (the automatic update test installs the dnf-automatic package, so it should pull it from the update repo if it is part of the update being tested). Signed-off-by: Adam Williamson <awilliam@redhat.com>
19 lines
293 B
Perl
19 lines
293 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# for update testing, ensure the update repos are set up
|
|
repo_setup if (get_var("ADVISORY_OR_TASK"));
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1, milestone => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|