mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-19 12:43:08 +00:00
Fix the modularity tests by selecting existing modules.
This commit is contained in:
parent
7cd06599d3
commit
378d50eabd
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user