From: Arjun Shankar Date: Tue, 16 Dec 2014 09:48:46 +0000 (+0530) Subject: Modify stdio-common/tst-fseek.c to use test-skeleton.c X-Git-Tag: glibc-2.21~220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e426475a70800b6a17daa7a8ebbafeabfcbc022;p=platform%2Fupstream%2Fglibc.git Modify stdio-common/tst-fseek.c to use test-skeleton.c This test needs a TIMEOUT longer than the default 2 seconds since it sleeps twice for a second each. --- diff --git a/ChangeLog b/ChangeLog index 8ce0f92..7b724d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-16 Arjun Shankar + + * stdio-common/tst-fseek.c: Use test-skeleton.c. + 2014-12-16 Torvald Riegel * string/tester.c: Include . diff --git a/stdio-common/tst-fseek.c b/stdio-common/tst-fseek.c index 1ab4702..5b9c751 100644 --- a/stdio-common/tst-fseek.c +++ b/stdio-common/tst-fseek.c @@ -27,8 +27,8 @@ #include -int -main (void) +static int +do_test (void) { const char *tmpdir; char *fname; @@ -476,3 +476,7 @@ main (void) return result; } + +#define TIMEOUT 3 +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c"