summaryrefslogtreecommitdiff
path: root/catgets/test-gencat.c
diff options
context:
space:
mode:
Diffstat (limited to 'catgets/test-gencat.c')
-rw-r--r--catgets/test-gencat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/catgets/test-gencat.c b/catgets/test-gencat.c
index eaa9b895f6..282974ca2f 100644
--- a/catgets/test-gencat.c
+++ b/catgets/test-gencat.c
@@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
-int
-main (void)
+static int
+do_test (void)
{
nl_catd catalog;
setlocale (LC_ALL, "");
@@ -29,3 +29,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"