]> sourceware.org Git - glibc.git/commitdiff
Convert dlfcn/tststatic2 to use test-skeleton.
authorRoland McGrath <roland@hack.frob.com>
Fri, 27 Feb 2015 23:21:03 +0000 (15:21 -0800)
committerRoland McGrath <roland@hack.frob.com>
Fri, 27 Feb 2015 23:54:33 +0000 (15:54 -0800)
ChangeLog
dlfcn/tststatic2.c

index 1ac660957ec9d20d53b990ff961da3c1d3ee5040..0b5c27d4898e139362795c4dcb0a7a430060c322 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-27  Roland McGrath  <roland@hack.frob.com>
+
+       * dlfcn/tststatic2.c (main): Converted to ...
+       (do_test): ... this.
+       (TEST_FUNCTION): New macro.
+       Include test-skeleton.c.
+
 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #17711]
index 5d273a69bfc8271d5dec19f3686be1f9ef4b55ec..f8cd5a964ba3e503d52398f6eb0c7cbf96eb4135 100644 (file)
@@ -5,8 +5,8 @@
 #include <string.h>
 #include <gnu/lib-names.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   void *handle = dlopen ("modstatic2-nonexistent.so", RTLD_LAZY);
   if (handle == NULL)
@@ -162,3 +162,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
This page took 0.120223 seconds and 5 git commands to generate.