From 7b60553e360731338631ccdda71590ac5deca137 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 6 Jun 2017 17:23:21 +0200 Subject: [PATCH] Use test-driver in sysdeps/unix/sysv/linux/tst-clone2.c (cherry picked from commit fdc543919a3d8578631a492e1227c2cd8f5ecec7) --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/tst-clone2.c | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1bb6135f355..33d05e48789 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-06-07 Arjun Shankar + + * 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 * 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 0da9e54ba25..14723119479 100644 --- a/sysdeps/unix/sysv/linux/tst-clone2.c +++ b/sysdeps/unix/sysv/linux/tst-clone2.c @@ -32,10 +32,7 @@ #include /* For _STACK_GROWS_{UP,DOWN}. */ -static int do_test (void); - -#define TEST_FUNCTION do_test () -#include +#include static int sig; static int pipefd[2]; @@ -145,3 +142,5 @@ do_test (void) return ret; } + +#include -- 2.47.2