diff options
author | Arjun Shankar <arjun.is@lostca.se> | 2017-06-06 17:23:21 +0200 |
---|---|---|
committer | Arjun Shankar <arjun.is@lostca.se> | 2017-06-07 14:05:42 +0200 |
commit | fdc543919a3d8578631a492e1227c2cd8f5ecec7 (patch) | |
tree | 71f678be5c0690ea398ec09b33fa8d3d5cf8bf10 | |
parent | ea01a4da219011f4a4db97eef3c5bfc2f6e8fc6b (diff) | |
download | glibc-fdc543919a3d8578631a492e1227c2cd8f5ecec7.tar.gz |
Use test-driver in sysdeps/unix/sysv/linux/tst-clone2.c
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-clone2.c | 7 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2017-06-07 Arjun Shankar <arjun.is@lostca.se> + + * sysdeps/unix/sysv/linux/tst-clone2.c: Do not + include test-skeleton.c. + Include support/check.h and support/test-driver.c. + 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org> * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c diff --git a/sysdeps/unix/sysv/linux/tst-clone2.c b/sysdeps/unix/sysv/linux/tst-clone2.c index 4e9379be01..f53efd505c 100644 --- a/sysdeps/unix/sysv/linux/tst-clone2.c +++ b/sysdeps/unix/sysv/linux/tst-clone2.c @@ -32,10 +32,7 @@ #include <stackinfo.h> /* For _STACK_GROWS_{UP,DOWN}. */ -static int do_test (void); - -#define TEST_FUNCTION do_test () -#include <test-skeleton.c> +#include <support/check.h> static int sig; static int pipefd[2]; @@ -145,3 +142,5 @@ do_test (void) return ret; } + +#include <support/test-driver.c> |