about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nptl/tst-audit-threads.c14
2 files changed, 10 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 44e1348738..846de9c0fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-02  Florian Weimer  <fweimer@redhat.com>
+
+	* nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
+
 2019-01-01  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
diff --git a/nptl/tst-audit-threads.c b/nptl/tst-audit-threads.c
index d6ff5d5c7f..ad10fbf652 100644
--- a/nptl/tst-audit-threads.c
+++ b/nptl/tst-audit-threads.c
@@ -25,19 +25,12 @@
    the relocation resolution caching code in the dynamic loader i.e.
    _dl_runtime_profile and _dl_profile_fixup.  */
 
+#include <support/support.h>
 #include <support/xthread.h>
 #include <strings.h>
 #include <stdlib.h>
 #include <sys/sysinfo.h>
 
-static int do_test (void);
-
-/* This test usually takes less than 3s to run.  However, there are cases that
-   take up to 30s.  */
-#define TIMEOUT 60
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
-
 /* Declare the functions we are going to call.  */
 #define externnum
 #include "tst-audit-threads.h"
@@ -95,3 +88,8 @@ do_test (void)
 
   return 0;
 }
+
+/* This test usually takes less than 3s to run.  However, there are cases that
+   take up to 30s.  */
+#define TIMEOUT 60
+#include <support/test-driver.c>