1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Use systemctl start not systemctl isolate in notifications test

Per https://github.com/systemd/systemd/issues/26364#issuecomment-1424900066
this resolves the problem with systemctl isolate not working on
current Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-09 14:56:33 -08:00
parent 56999e1330
commit 4db301bba6

View File

@ -58,7 +58,9 @@ sub run {
}
}
# can't use assert_script_run here as long as we're on tty1
type_string "systemctl isolate graphical.target\n";
# we don't use isolate per:
# https://github.com/systemd/systemd/issues/26364#issuecomment-1424900066
type_string "systemctl start graphical.target\n";
# we trust systemd to switch us to the right tty here
if (get_var("BOOTFROM")) {
assert_screen 'graphical_login', 60;