aboutsummaryrefslogtreecommitdiff
path: root/tests/spawn-exhaustion/spawn.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:34:38 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:34:38 +0200
commit17fd9daf39cf79ae310c1b7d0eb459802517dc6a (patch)
tree1f9061bc489289769d134e97efea805cbf1bf29a /tests/spawn-exhaustion/spawn.c
parent010152de4f19fcb4f1b627123aa27f08deb13e72 (diff)
downloadkmi-17fd9daf39cf79ae310c1b7d0eb459802517dc6a.tar.gz
kmi-17fd9daf39cf79ae310c1b7d0eb459802517dc6a.zip
check spawn exhaustion
Diffstat (limited to 'tests/spawn-exhaustion/spawn.c')
-rw-r--r--tests/spawn-exhaustion/spawn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/spawn-exhaustion/spawn.c b/tests/spawn-exhaustion/spawn.c
new file mode 100644
index 0000000..e281fc8
--- /dev/null
+++ b/tests/spawn-exhaustion/spawn.c
@@ -0,0 +1,14 @@
+#include <common/test.h>
+
+START(pid, tid, d0, d1, d2, d3)
+{
+ UNUSED(pid);
+ UNUSED(tid);
+ UNUSED(d0);
+ UNUSED(d1);
+ UNUSED(d2);
+ UNUSED(d3);
+
+ printf("shouldn't be here\n");
+ /* just die or something */
+}