aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fork-many.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-25 15:20:06 +0200
committerMattias Andrée <maandree@kth.se>2023-06-25 15:20:06 +0200
commit665a51ce1927be44e14524491e10bb45f089d79c (patch)
treeb7d7804ccdef649150e362356fc11cbaf9616a2e /tests/fork-many.c
parentAdd -a and trivial improvements (diff)
downloadsctrace-665a51ce1927be44e14524491e10bb45f089d79c.tar.gz
sctrace-665a51ce1927be44e14524491e10bb45f089d79c.tar.bz2
sctrace-665a51ce1927be44e14524491e10bb45f089d79c.tar.xz
Add more test cases
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--tests/fork-many.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fork-many.c b/tests/fork-many.c
new file mode 100644
index 0000000..b0f88ad
--- /dev/null
+++ b/tests/fork-many.c
@@ -0,0 +1,11 @@
+#include <unistd.h>
+
+int
+main(void)
+{
+ fork();
+ fork();
+ fork();
+ fork();
+ return 0;
+}