From patchwork Thu Aug 29 18:31:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1155486 X-Patchwork-Delegate: petr.vorel@gmail.com 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=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46KB5c3zYrz9sRH for ; Fri, 30 Aug 2019 04:31:31 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 53FC03C2012 for ; Thu, 29 Aug 2019 20:31:20 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6]) by picard.linux.it (Postfix) with ESMTP id BF95E3C04F4 for ; Thu, 29 Aug 2019 20:31:18 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id D5CB714060C5 for ; Thu, 29 Aug 2019 20:31:17 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2FE7AAD20; Thu, 29 Aug 2019 18:31:17 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Thu, 29 Aug 2019 20:31:10 +0200 Message-Id: <20190829183110.23231-1-pvorel@suse.cz> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-6.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-6.smtp.seeweb.it Subject: [LTP] [PATCH] net/if-mtu-change.sh: set longer timeout X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Default CHANGE_INTERVAL 5s caused test to be killed after introducing LTP_TIMEOUT_MUL to shell API. TODO: set LTP_TIMEOUT_MUL based on CHANGE_INTERVAL. Fixes: fbea02ab5 ("lib/tst_test.sh: setup timeout per test run for the shell tests") Signed-off-by: Petr Vorel --- testcases/network/stress/interface/if-mtu-change.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/network/stress/interface/if-mtu-change.sh b/testcases/network/stress/interface/if-mtu-change.sh index 30c013214..5a05e99c9 100755 --- a/testcases/network/stress/interface/if-mtu-change.sh +++ b/testcases/network/stress/interface/if-mtu-change.sh @@ -5,6 +5,8 @@ # Copyright (c) International Business Machines Corp., 2005 # Author: Mitsuru Chinen +LTP_TIMEOUT_MUL=${LTP_TIMEOUT_MUL:-2} + IF_CMD='ifconfig' TST_SETUP="do_setup" TST_CLEANUP="do_cleanup"