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:05:42 +0000 (14:05 +0200)
ChangeLog
sysdeps/unix/sysv/linux/tst-clone2.c

index 2e4e14efd94205d00f9515441b0aa8a71360c4fa..f74004b39a0b3b34ba47cdad3f48f4a7c23a6f86 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.
+
 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
        * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
index 4e9379be01b6739fed890fb9f05cde2ffdf6b4b8..f53efd505c43a7ce43a2954b088369156082b6de 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>