mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 09:24:21 +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);
|
$self->root_console(tty => 3);
|
||||||
|
|
||||||
# Enable the module.
|
# Enable the module.
|
||||||
my $name = "swig";
|
my $name = "mysql";
|
||||||
my $stream = "4.0";
|
my $stream = "8.0";
|
||||||
assert_script_run("dnf module enable -y $name:$stream");
|
assert_script_run("dnf module enable -y $name:$stream");
|
||||||
|
|
||||||
# Check that it is listed in the enabled list.
|
# Check that it is listed in the enabled list.
|
||||||
@ -30,8 +30,8 @@ sub run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Disable some other module.
|
# Disable some other module.
|
||||||
my $name_alt = "postgresql";
|
my $name_alt = "nginx";
|
||||||
my $stream_alt = "14";
|
my $stream_alt = "mainline";
|
||||||
assert_script_run("dnf module disable -y $name_alt:$stream_alt");
|
assert_script_run("dnf module disable -y $name_alt:$stream_alt");
|
||||||
|
|
||||||
# Check that it is listed in the disabled list.
|
# Check that it is listed in the disabled list.
|
||||||
|
@ -10,9 +10,9 @@ sub run {
|
|||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
|
|
||||||
# Install a Ruby module.
|
# Install a Ruby module.
|
||||||
my $name = "nodejs";
|
my $name = "mysql";
|
||||||
my $stream = "14";
|
my $stream = "8.0";
|
||||||
my $profile = "common";
|
my $profile = "server";
|
||||||
assert_script_run("dnf module install -y $name:$stream/$profile");
|
assert_script_run("dnf module install -y $name:$stream/$profile");
|
||||||
|
|
||||||
# Check that it is listed in the installed list.
|
# Check that it is listed in the installed list.
|
||||||
|
Loading…
Reference in New Issue
Block a user