1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-10-31 21:44:23 +00:00
os-autoinst-distri-fedora/tests/_addrepo_metalink_post.pm
Adam Williamson 803ae7ca57 Add a test of an additional repository using a metalink (#198)
As suggested by @kparal, this adds a test that specifies an
additional repository using a metalink. The repository contains
a single package, 'testpackage', that supplements glibc (so it
should always get installed). The test runs an install then
checks that testpackage got installed.

We also deduplicate a pair of needles which were matching on the
same anaconda UI feature (an "add" button) and use that same
needle in this test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-18 14:03:27 -07:00

17 lines
242 B
Perl

use base "installedtest";
use strict;
use testapi;
sub run {
# check the test package from the side repo was installed
assert_script_run "rpm -q testpackage";
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: