From: Dmitry V. Levin Date: Wed, 30 Dec 2015 23:28:35 +0000 (+0000) Subject: test: remove fork.c and vfork.c X-Git-Tag: v4.12~781 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=017175208435b7ea3e006f504298f745b59c7789;p=strace test: remove fork.c and vfork.c 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. --- diff --git a/test/.gitignore b/test/.gitignore index fba8c9d4..34d37bf3 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,6 +1,5 @@ childthread clone -fork leaderkill many_looping_threads mmap_offset_decode @@ -12,7 +11,6 @@ sigkill_rain skodic threaded_execve ubi -vfork wait_must_be_interruptible x32_lseek x32_mmap diff --git a/test/Makefile b/test/Makefile index dbc5008b..ad727fcb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ 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 diff --git a/test/fork.c b/test/fork.c deleted file mode 100644 index 1425e2dd..00000000 --- a/test/fork.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main(int argc, char *argv[]) -{ - if (fork() == 0) { - write(1, "child\n", 6); - } else { - wait(0); - write(1, "parent\n", 7); - } - - exit(0); -} diff --git a/test/vfork.c b/test/vfork.c deleted file mode 100644 index f49a4733..00000000 --- a/test/vfork.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main(int argc, char *argv[]) -{ - if (vfork() == 0) { - write(1, "child\n", 6); - } else { - wait(0); - write(1, "parent\n", 7); - } - - exit(0); -}