From patchwork Tue Oct 9 14:19:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 981304 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-96304-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="vIxGKwTh"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="k7W/pMqm"; dkim-atps=neutral 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 42Tzrq01W2z9s7h for ; Wed, 10 Oct 2018 01:19:54 +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:from:to:cc:subject:date:message-id :content-type:mime-version; q=dns; s=default; b=gFPVgrG7D3Ax0ixy J6CgbqRiVa/v437a3AZxgVZdkld4pGfLoGUDPVIGjtncx+G6U21M6CiWX7XwilAJ FI/0Lkwhl7c6WTCJXNuGX1mrysbtQ6M9lWQvI6BhU84JfcZ/J/NjCFnQy44unaL7 CXtaU7ZlTjTkS3V2A4YT403iMnU= 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:from:to:cc:subject:date:message-id :content-type:mime-version; s=default; bh=KTik/u+JaxqH0LrvOGHBS8 7uV8c=; b=vIxGKwTh+ghmxTL9yJSFIuJdfa2pzUIzcNuYUTvOBEqHyDW2M7x3wU h7ehS7Iqclfsg3WxwIRBK4o6Jrs8WPY5Juox7p9yVIjg0xm1BcKDy8YZCO29/DPk upLAIzjokl4nYEu5D/PyPnOOoIr14Xd8/N87DJwhXZNL4p81vyFUk= Received: (qmail 17305 invoked by alias); 9 Oct 2018 14:19:48 -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 17214 invoked by uid 89); 9 Oct 2018 14:19:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Increase, 20s, million, Hx-languages-length:709 X-HELO: EUR01-DB5-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IlffMYkMv1KWr0XZQjn0J0TPqzyI3jG2sGrkvRX2ro0=; b=k7W/pMqm1lBXI4pCtiicMegA2a7vnW17KpkHQY5Yz6WmF7EDoAnqbkB15Kmr8x9bfESe3sSzIutdm59ocrgBKOg50l4dpZ9p90KSE99Im+4hoDevAubDKC5XHZp/CJt0E+TSQYSEpzncQY93YmECArT/6cNRMAD4nzmxTpMKiqQ= From: Szabolcs Nagy To: GNU C Library CC: nd Subject: [PATCH] Increase timeout of libio/tst-readline Date: Tue, 9 Oct 2018 14:19:41 +0000 Message-ID: user-agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) MIME-Version: 1.0 Increase timeout from the default 20s to 100s. This test makes close to 20 million syscalls with distribution: 12327675 read 4143204 lseek 929475 close 929471 openat 92817 fstat 1431 write ... The default timeout assumes each can finish in 1us on average which is not true on slow machines. 2018-10-09 Szabolcs Nagy * libio/tst-readline.c (TIMEOUT): Define. Reviewed-by: Carlos O'Donell diff --git a/libio/tst-readline.c b/libio/tst-readline.c index 9322ef68da..63f5227760 100644 --- a/libio/tst-readline.c +++ b/libio/tst-readline.c @@ -232,5 +232,6 @@ do_test (void) return 0; } +#define TIMEOUT 100 #define PREPARE prepare #include