From 37fc0b00bf8a12cd13c3a1bd0a4fc58fed463567 Mon Sep 17 00:00:00 2001 From: AlanMarshall Date: Wed, 3 May 2023 11:32:55 +0100 Subject: [PATCH] Improve test logic, to be sure --- tests/_boot_to_anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 70f19efa..19f3d76d 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -99,7 +99,7 @@ sub run { # we direct the installer to virtio-console1, and use # virtio-console as a root console select_console('virtio-console1'); - if (get_var("DISTRI") eq "rocky" && (get_version_major() > 8)) { + if (get_var("DISTRI") eq "rocky" && (get_version_major() >= 9)) { unless (wait_serial "Use text mode", timeout => 120) { die "Anaconda has not started."; } type_string "2\n"; } -- 2.43.5