summaryrefslogtreecommitdiff
path: root/tests/51-live-user_notification.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/51-live-user_notification.py')
-rwxr-xr-xtests/51-live-user_notification.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/51-live-user_notification.py b/tests/51-live-user_notification.py
index 0d81f5e..3449c44 100755
--- a/tests/51-live-user_notification.py
+++ b/tests/51-live-user_notification.py
@@ -52,6 +52,10 @@ def test():
raise RuntimeError("Child process error")
if os.WEXITSTATUS(rc) != 0:
raise RuntimeError("Child process error")
+ f.reset(ALLOW)
+ f.add_rule(NOTIFY, "getppid")
+ f.load()
+ # no easy way to check the notification fd here
quit(160)
test()