aboutsummaryrefslogtreecommitdiff
path: root/tests/ipc-notify/check.mk
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 14:57:14 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 14:57:14 +0300
commitc3ea570bae8f7daeac8e0614a958e983fcf9940e (patch)
treea6060c571a2ce715037f98df139562cb161cf91e /tests/ipc-notify/check.mk
parentfcd4d35ab52e26942f7adbd555be4d563ad06980 (diff)
downloadkmi-c3ea570bae8f7daeac8e0614a958e983fcf9940e.tar.gz
kmi-c3ea570bae8f7daeac8e0614a958e983fcf9940e.zip
add ipc_notify testcase, remove ipc_ghost
+ A bit easier to implement just ignoring the ipc_resp() arguments than try to enforce that a notification is exited from by ipc_ghost(), especially in cases where the root process has been killed.
Diffstat (limited to 'tests/ipc-notify/check.mk')
-rw-r--r--tests/ipc-notify/check.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ipc-notify/check.mk b/tests/ipc-notify/check.mk
new file mode 100644
index 0000000..54da852
--- /dev/null
+++ b/tests/ipc-notify/check.mk
@@ -0,0 +1,4 @@
+ipc-notify: do-ipc-notify
+ @grep 'BUG' reports/ipc-notify/log \
+ && echo 'BUG' > reports/ipc-notify/OK \
+ || tail -n1 reports/ipc-notify/log | tr -d '\r' > reports/ipc-notify/OK