From patchwork Mon Dec 15 22:23:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjun Shankar X-Patchwork-Id: 4265 Received: (qmail 8637 invoked by alias); 15 Dec 2014 22:21:28 -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 8581 invoked by uid 89); 15 Dec 2014 22:21:26 -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:23:39 +0000 From: Arjun Shankar To: libc-alpha@sourceware.org Subject: [PATCH 1/3] Modify stdio-common/tst-fseek.c to use test-skeleton.c Message-ID: <20141215222338.GB68022@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 needs a TIMEOUT longer than the default 2 seconds since it sleeps twice for a second each. ChangeLog: 2014-12-15 Arjun Shankar * stdio-common/tst-fseek.c: Use test-skeleton.c. --- stdio-common/tst-fseek.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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"