mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
Enhance _software_selection environment check for anaconda change
anaconda changed how this log line looks (again); update the check to handle old and new styles for now. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
055662fe36
commit
4691928c2f
@ -21,7 +21,11 @@ sub run {
|
||||
elsif (get_var('SUBVARIANT') eq 'Workstation') {
|
||||
$env = 'workstation-product-environment';
|
||||
}
|
||||
assert_script_run "grep 'selected env' /tmp/anaconda.log /tmp/packaging.log | tail -1 | grep $env";
|
||||
# pre-F35 line looks like:
|
||||
# 07:51:39,382 INF modules.payloads.payload.dnf.utils: selected environment: custom-environment
|
||||
# F35+ line looks like:
|
||||
# 07:40:26,614 DBG ui.lib.software: Selecting the 'custom-environment' environment.
|
||||
assert_script_run "egrep '(selected env|Selecting the.*environment)' /tmp/anaconda.log /tmp/packaging.log | tail -1 | grep $env";
|
||||
send_key "ctrl-alt-f6";
|
||||
assert_screen "anaconda_main_hub", 30;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user