support enable and disable of kdump

This commit is contained in:
Trevor Cooper 2021-08-14 22:13:03 -07:00
parent c90b72f365
commit 5f3d7dafd7
11 changed files with 121 additions and 0 deletions

View File

@ -175,6 +175,13 @@ sub load_install_tests() {
autotest::loadtest "tests/_anaconda_network_enable.pm";
}
## Kdump
if (get_var('ANACONDA_KDUMP') eq 'enabled') {
autotest::loadtest "tests/_anaconda_kdump_enable.pm";
}
else {
autotest::loadtest "tests/_anaconda_kdump_disable.pm";
}
## Installation source
if (get_var('MIRRORLIST_GRAPHICAL') || get_var("REPOSITORY_GRAPHICAL")) {

View File

@ -0,0 +1,20 @@
{
"area": [
{
"xpos": 10,
"ypos": 130,
"width": 111,
"height": 26,
"type": "match",
"click_point": {
"xpos": 12.5,
"ypos": 13
}
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_kdump_disable"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 15,
"ypos": 136,
"width": 106,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_kdump_disabled"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,20 @@
{
"area": [
{
"xpos": 10,
"ypos": 130,
"width": 111,
"height": 26,
"type": "match",
"click_point": {
"xpos": 12.5,
"ypos": 13
}
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_kdump_enable"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 719,
"ypos": 265,
"width": 16,
"height": 43,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_main_hub_kdump"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -0,0 +1,21 @@
use base "anacondatest";
use strict;
use testapi;
use utils;
use tapnet;
sub run {
my $self = shift;
assert_and_click "anaconda_main_hub_kdump";
assert_and_click "anaconda_kdump_disable";
assert_screen "anaconda_kdump_disabled", 90;
assert_and_click "anaconda_spoke_done";
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et:

View File

@ -0,0 +1,21 @@
use base "anacondatest";
use strict;
use testapi;
use utils;
use tapnet;
sub run {
my $self = shift;
assert_and_click "anaconda_main_hub_kdump";
assert_and_click "anaconda_kdump_enable";
assert_screen "anaconda_kdump_enabled", 90;
assert_and_click "anaconda_spoke_done";
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: