1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-20 09:23:08 +00:00

Fix the modularity tests by selecting existing modules.

This commit is contained in:
Lukas Ruzicka 2022-08-17 13:03:12 +02:00
parent 7cd06599d3
commit 378d50eabd
2 changed files with 7 additions and 7 deletions

View File

@ -11,8 +11,8 @@ sub run {
$self->root_console(tty => 3);
# Enable the module.
my $name = "swig";
my $stream = "4.0";
my $name = "mysql";
my $stream = "8.0";
assert_script_run("dnf module enable -y $name:$stream");
# Check that it is listed in the enabled list.
@ -30,8 +30,8 @@ sub run {
}
# Disable some other module.
my $name_alt = "postgresql";
my $stream_alt = "14";
my $name_alt = "nginx";
my $stream_alt = "mainline";
assert_script_run("dnf module disable -y $name_alt:$stream_alt");
# Check that it is listed in the disabled list.

View File

@ -10,9 +10,9 @@ sub run {
$self->root_console(tty => 3);
# Install a Ruby module.
my $name = "nodejs";
my $stream = "14";
my $profile = "common";
my $name = "mysql";
my $stream = "8.0";
my $profile = "server";
assert_script_run("dnf module install -y $name:$stream/$profile");
# Check that it is listed in the installed list.