From c1131b1a6e0bb8e3bd0b71278cd3800d78b4ed3f Mon Sep 17 00:00:00 2001 From: lumarel Date: Sun, 20 Nov 2022 18:00:09 +0100 Subject: [PATCH] Make graphical_wait_login major version agnostic --- tests/_graphical_wait_login.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index 1eb86359..2d629134 100644 --- a/tests/_graphical_wait_login.pm +++ b/tests/_graphical_wait_login.pm @@ -42,7 +42,7 @@ sub run { unless (get_var("HDD_1") && !(get_var("PARTITIONING") eq "custom_resize_lvm")) { # in 9.0, license screens are not shown by default # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/9.0_release_notes/index#enhancement_installer-and-image-creation - unless ($version eq '9.0') { + unless (get_version_major() > 8) { # for Rocky Linux here happens to be a license acceptance screen # the initial appearance can sometimes take really long assert_screen "gdm_initial_setup_license", 120; -- 2.43.5