From c3ecb747f1e35f609f15fc94ad4d5e5ca0bda4a2 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 29 Oct 2024 18:35:50 +0100 Subject: [PATCH] TEST-80-NOTIFYACCESS: don't specify --pid= if MAINPID= is provided explicitly Otherwise, with recent additions, the MAINPIDFDID= generated by systemd-notify would mismatch with overridden MAINPID=. --- test/TEST-80-NOTIFYACCESS/TEST-80-NOTIFYACCESS.units/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TEST-80-NOTIFYACCESS/TEST-80-NOTIFYACCESS.units/test.sh b/test/TEST-80-NOTIFYACCESS/TEST-80-NOTIFYACCESS.units/test.sh index 47333ef0deb..c3a6a3982d6 100755 --- a/test/TEST-80-NOTIFYACCESS/TEST-80-NOTIFYACCESS.units/test.sh +++ b/test/TEST-80-NOTIFYACCESS/TEST-80-NOTIFYACCESS.units/test.sh @@ -39,7 +39,7 @@ sync_in b sync_in d # Move main process back to toplevel - systemd-notify --pid=parent "MAINPID=$$" + systemd-notify "MAINPID=$$" # Should be dropped again systemd-notify --status="BOGUS2" --pid=parent -- 2.47.3