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:19:53 +0200 |
commit | 7b60553e360731338631ccdda71590ac5deca137 (patch) | |
tree | e14542e28cbcf4101845e8f01564dda489721e5d | |
parent | 206e03248c3f575e83c13f2aa709fa55c67e51c2 (diff) | |
download | glibc-7b60553e360731338631ccdda71590ac5deca137.zip glibc-7b60553e360731338631ccdda71590ac5deca137.tar.gz glibc-7b60553e360731338631ccdda71590ac5deca137.tar.bz2 |
Use test-driver in sysdeps/unix/sysv/linux/tst-clone2.c
(cherry picked from commit fdc543919a3d8578631a492e1227c2cd8f5ecec7)
-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. + 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting. diff --git a/sysdeps/unix/sysv/linux/tst-clone2.c b/sysdeps/unix/sysv/linux/tst-clone2.c index 0da9e54..1472311 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> |