From 8b460906cdb8ef1501fa5dcff54206b201e527d5 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 16 Dec 2014 15:21:01 +0530 Subject: Modify libio/tst-fopenloc.c to use test-skeleton.c This test would earlier fail when run under test-skeleton.c due to bug #17522 in 'fputws'. That bug is now fixed and so this test may be modified. --- libio/tst-fopenloc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libio/tst-fopenloc.c') diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c index 8fe83fd5c8..140d9762f9 100644 --- a/libio/tst-fopenloc.c +++ b/libio/tst-fopenloc.c @@ -29,8 +29,8 @@ static const char inputfile[] = "../iconvdata/testdata/ISO-8859-1"; -int -main (void) +static int +do_test (void) { FILE *fp; @@ -59,3 +59,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" -- cgit 1.4.1