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=.
This commit is contained in:
Mike Yuan
2024-10-29 18:35:50 +01:00
parent e2037d07c0
commit c3ecb747f1

View File

@@ -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