These manual tests are obsoleted by fork-f.test and vfork-f.test.
* test/fork.c: Remove.
* test/vfork.c: Remove.
* test/Makefile (PROGS): Remove fork and vfork.
* test/.gitignore: Remove fork and vfork.
childthread
clone
-fork
leaderkill
many_looping_threads
mmap_offset_decode
skodic
threaded_execve
ubi
-vfork
wait_must_be_interruptible
x32_lseek
x32_mmap
CFLAGS += -Wall
PROGS = \
- vfork fork sig skodic clone leaderkill childthread \
+ sig skodic clone leaderkill childthread \
sigkill_rain wait_must_be_interruptible threaded_execve \
mtd ubi seccomp sfd mmap_offset_decode x32_lseek x32_mmap \
many_looping_threads
+++ /dev/null
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/wait.h>
-
-int main(int argc, char *argv[])
-{
- if (fork() == 0) {
- write(1, "child\n", 6);
- } else {
- wait(0);
- write(1, "parent\n", 7);
- }
-
- exit(0);
-}
+++ /dev/null
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/wait.h>
-
-int main(int argc, char *argv[])
-{
- if (vfork() == 0) {
- write(1, "child\n", 6);
- } else {
- wait(0);
- write(1, "parent\n", 7);
- }
-
- exit(0);
-}