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