From 104d691b85aa0f3eeaf705b6f7f6b46c15cd7fe0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 19 Nov 2026 22:24:13 +0900 Subject: cmd/hakurei/testsuite: accept new libnotify output This error message appeared to have changed since the archaic version packaged for gitea actions. This change accepts both messages. Signed-off-by: Ophestra --- cmd/hakurei/testsuite/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/hakurei/testsuite/main.go b/cmd/hakurei/testsuite/main.go index 9e7455a5..cb315401 100644 --- a/cmd/hakurei/testsuite/main.go +++ b/cmd/hakurei/testsuite/main.go @@ -607,9 +607,11 @@ func main() { "Test notification", } }, nil, func(output string) bool { - return output == "GDBus.Error:"+ - "org.freedesktop.DBus.Error.ServiceUnknown: "+ + const suffix = "GDBus.Error:" + + "org.freedesktop.DBus.Error.ServiceUnknown: " + "org.freedesktop.DBus.Error.ServiceUnknown\r\n" + return output == suffix || + output == "Failed to show notification: "+suffix }, hst.ExitFailure, ) -- cgit v1.3.1