From patchwork Mon Dec 15 22:25:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjun Shankar X-Patchwork-Id: 4267 X-Patchwork-Delegate: siddhesh@gotplt.org Received: (qmail 11222 invoked by alias); 15 Dec 2014 22:23:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 11196 invoked by uid 89); 15 Dec 2014 22:23:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: arati.lostca.se Date: Mon, 15 Dec 2014 22:25:33 +0000 From: Arjun Shankar To: libc-alpha@sourceware.org Subject: [PATCH 3/3] Modify libio/tst-fopenloc.c to use test-skeleton.c Message-ID: <20141215222533.GD68022@arati.lostca.se> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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. ChangeLog: 2014-12-15 Arjun Shankar * libio/tst-fopenloc.c: Use test-skeleton.c. --- libio/tst-fopenloc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c index 8fe83fd..140d976 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"