mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Tweak IoT initial-setup handling (only on F31)
initial-setup doesn't appear on IoT F32+, so we shouldn't expect it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
deab03a80d
commit
2e6cf6453d
@ -140,7 +140,6 @@
|
||||
"settings": {
|
||||
"CANNED": "1",
|
||||
"PACKAGE_SET": "default",
|
||||
"CONSOLE_INITIAL_SETUP": "1",
|
||||
"TEST_TARGET": "ISO"
|
||||
},
|
||||
"version": "*"
|
||||
@ -152,7 +151,6 @@
|
||||
"settings": {
|
||||
"CANNED": "1",
|
||||
"PACKAGE_SET": "default",
|
||||
"CONSOLE_INITIAL_SETUP": "1",
|
||||
"TEST_TARGET": "ISO"
|
||||
},
|
||||
"version": "*"
|
||||
|
@ -15,10 +15,11 @@ sub run {
|
||||
$wait_time = 180;
|
||||
}
|
||||
|
||||
# handle initial-setup, if we're expecting it (the variable is set
|
||||
# and this is an install test)
|
||||
# handle initial-setup, if we're expecting it (IoT < F32 install test)
|
||||
my $testname = get_var("TEST");
|
||||
if (get_var("CONSOLE_INITIAL_SETUP") && index($testname, 'install') != -1) {
|
||||
my $subvariant = get_var("SUBVARIANT");
|
||||
my $version = get_release_number;
|
||||
if ($subvariant eq "IoT" && $version < 32 && index($testname, 'install') != -1) {
|
||||
assert_screen "console_initial_setup", $wait_time;
|
||||
type_string "q\n";
|
||||
type_string "yes\n";
|
||||
|
Loading…
Reference in New Issue
Block a user