From 4fee822475f670bbf1aecc3d70aaa3f812628cce Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 8 Jul 2020 14:52:11 -0700 Subject: [PATCH] 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 --- tests/modularity_module_list.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/modularity_module_list.pm b/tests/modularity_module_list.pm index 6e7f605d..5c2b9271 100644 --- a/tests/modularity_module_list.pm +++ b/tests/modularity_module_list.pm @@ -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');