aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Shankar <arjun.is@lostca.se>2014-12-16 15:21:01 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-16 16:55:23 +0530
commit8b460906cdb8ef1501fa5dcff54206b201e527d5 (patch)
tree15471573da8bdf544d6c776aa2a8b03d91da9274
parentModify stdlib/tst-bsearch.c to use test-skeleton.c (diff)
downloadglibc-8b460906cdb8ef1501fa5dcff54206b201e527d5.tar.gz
glibc-8b460906cdb8ef1501fa5dcff54206b201e527d5.tar.bz2
glibc-8b460906cdb8ef1501fa5dcff54206b201e527d5.zip
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.
-rw-r--r--ChangeLog2
-rw-r--r--libio/tst-fopenloc.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ce2d639423..9bee8199a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-12-16 Arjun Shankar <arjun.is@lostca.se>
+ * libio/tst-fopenloc.c: Use test-skeleton.c.
+
* stdlib/tst-bsearch.c: Use test-skeleton.c.
(entry): Rename to ITEM.
(do_test, comp): Adjust.
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"