modularity test: install fedora-repos-modular if necessary

It got split out and is not installed by default in 33-0.8. This
is intentional, not a bug, see https://pagure.io/fesco/issue/2114

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-07-08 14:52:11 -07:00
parent f70b8ec943
commit 4fee822475

View File

@ -13,6 +13,10 @@ sub run {
# It does not check the content of the further listed lists for any
# particular packages, modules or streams.
# Install modular repos if necessary (since fedora-repos-33-0.8
# they are not installed by default)
script_run('dnf -y install fedora-repos-modular', 180);
# Check that modularity works and dnf can list the modules.
assert_script_run('dnf module list');