Short circuit auto addition of _console_wait_login for tests without DESKTOP

This commit is contained in:
Trevor Cooper 2022-07-02 22:06:17 -07:00
parent 54a93f21e5
commit e8945e0305
Signed by: tcooper
GPG key ID: 52364D7BBCEB35B8

View file

@ -249,7 +249,8 @@ sub _load_early_postinstall_tests {
# For now, there's no possibility to get a graphical desktop on
# Modular composes, so short-circuit here for those
if (get_var("MODULAR")) {
# Rocky has no such thing as MODULAR composes.
if (!get_var("DESKTOP") || get_var("DESKTOP") eq "false") {
_load_instance("tests/_console_wait_login", $instance);
return;
}