diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-25 16:01:13 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-25 16:01:13 -0800 |
commit | ca681b7b7b79bea3af62fe709df6594f3f5457e6 (patch) | |
tree | 69265a0eee472d9b15d9c238ed2d0eb216af0b89 /iconv/tst-iconv3.c | |
parent | fd1f2f1c3de842b84a0ee9667c3172b2169f1b10 (diff) | |
download | glibc-ca681b7b7b79bea3af62fe709df6594f3f5457e6.zip glibc-ca681b7b7b79bea3af62fe709df6594f3f5457e6.tar.gz glibc-ca681b7b7b79bea3af62fe709df6594f3f5457e6.tar.bz2 |
Convert tst-iconv3 to use test-skeleton.
Diffstat (limited to 'iconv/tst-iconv3.c')
-rw-r--r-- | iconv/tst-iconv3.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c index f31c812..b06f75f 100644 --- a/iconv/tst-iconv3.c +++ b/iconv/tst-iconv3.c @@ -7,8 +7,8 @@ #define BUFSIZE 10000 -int -main (int argc, char *argv[]) +static int +do_test (void) { char inbuf[BUFSIZE]; wchar_t outbuf[BUFSIZE]; @@ -51,3 +51,6 @@ main (int argc, char *argv[]) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |