]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use test-driver in sysdeps/unix/sysv/linux/tst-clone2.c
authorArjun Shankar <arjun.is@lostca.se>
Tue, 6 Jun 2017 15:23:21 +0000 (17:23 +0200)
committerArjun Shankar <arjun.is@lostca.se>
Wed, 7 Jun 2017 12:19:53 +0000 (14:19 +0200)
(cherry picked from commit fdc543919a3d8578631a492e1227c2cd8f5ecec7)

ChangeLog
sysdeps/unix/sysv/linux/tst-clone2.c

index 1bb6135f355082763dfdc81d5cffe64a5c2f7f62..33d05e48789b51c9cb43fbc7dc6c664ea6faa3d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 0da9e54ba25259952c80e8e05da266cef1ca098f..14723119479a991ee5fe8cfc1f69b0e8d1938e06 100644 (file)
 
 #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>