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: 421697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B4C1C1400B7 for ; Tue, 16 Dec 2014 09:21:34 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to :content-transfer-encoding; q=dns; s=default; b=vyr5039E7RXiyMrx A7wCWM25t8ExpjxNTCEaWGKMRKMzym9iMhD3IKJUZ7DnTb9VqqRsKmSQ6cHveSo/ HhSKC24XT3/m7q3zF4l2k5ahwGK6iNwwWhysS+qX4YdZM8DTDgP7UCz9hF8vqXSA XUlpXtbk0FXDa8iG7fuLVjSrVHA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to :content-transfer-encoding; s=default; bh=ucZ+7b5CsqsofpCDSSEMjl 4ldTc=; b=eWkmwcKnUqfLScMj0QpKUm8Il5Ul/cz08EmZz7XKf5vvaTfwJ0Gz9W HSLM4g9sCyQ7w4gfo/8ZiEW+JiYQ38Rc7sgOU04CrtMf5/G9+pKG8dzdfROkF0kr BByEbKZj1f651M84nAXNl2oYY/ZaJ+QoK4ZI4VMcKLND5qt4yQ8Dw= 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"