aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/stop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stop.c b/tests/stop.c
new file mode 100644
index 0000000..05c0e61
--- /dev/null
+++ b/tests/stop.c
@@ -0,0 +1,8 @@
+#include <signal.h>
+#include <unistd.h>
+
+int
+main(void)
+{
+ return kill(getpid(), SIGSTOP);
+}