mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-12 06:13:08 +00:00
803ae7ca57
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>
17 lines
242 B
Perl
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:
|