From patchwork Fri Jun 1 11:49:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 923973 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=213.254.12.146; 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 [213.254.12.146]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40y2hx0WCmz9ry1 for ; Fri, 1 Jun 2018 21:50:57 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 9C1863E7656 for ; Fri, 1 Jun 2018 13:50:54 +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 16B703E7A1F for ; Fri, 1 Jun 2018 13:50:22 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id B093F1401B67 for ; Fri, 1 Jun 2018 13:50:21 +0200 (CEST) Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3C995AF0D; Fri, 1 Jun 2018 11:50:21 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Fri, 1 Jun 2018 13:49:56 +0200 Message-Id: <20180601114956.17265-8-pvorel@suse.cz> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180601114956.17265-1-pvorel@suse.cz> References: <20180601114956.17265-1-pvorel@suse.cz> 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_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 7/7] net/virt: Replace $ipver by $TST_IPVER from tst_net.sh X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Petr Vorel --- testcases/network/virt/virt_lib.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/testcases/network/virt/virt_lib.sh b/testcases/network/virt/virt_lib.sh index 00978a062..77f129894 100644 --- a/testcases/network/virt/virt_lib.sh +++ b/testcases/network/virt/virt_lib.sh @@ -289,8 +289,8 @@ virt_compare_netperf() case "$virt_type" in vxlan|geneve) - tst_resm TINFO "IP4 $virt_type over IP$ipver slower by $per %" - tst_resm TINFO "IP6 $virt_type over IP$ipver slower by $per6 %" + tst_resm TINFO "IP4 $virt_type over IP$TST_IPVER slower by $per %" + tst_resm TINFO "IP6 $virt_type over IP$TST_IPVER slower by $per6 %" ;; *) tst_resm TINFO "IP4 $virt_type slower by $per %" @@ -420,8 +420,6 @@ vxlan|geneve) ;; esac -ipver=${TST_IPV6:-'4'} - tst_check_cmds "ip" virt_add ltp_v0 || \