From 4db301bba6b37f55b6848f844589234fe3e61c63 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 9 Feb 2023 14:56:33 -0800 Subject: [PATCH] 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 --- tests/desktop_notifications.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index 696db882..8d7bd313 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -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;