From patchwork Sat May 26 11:15:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 920963 X-Patchwork-Delegate: akodanev@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 40tLCY736pz9s1R for ; Sat, 26 May 2018 21:16:09 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 2B80C3E6ED6 for ; Sat, 26 May 2018 13:16:07 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) by picard.linux.it (Postfix) with ESMTP id A7DC53E690B for ; Sat, 26 May 2018 13:15:59 +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-5.smtp.seeweb.it (Postfix) with ESMTPS id 20A2C600858 for ; Sat, 26 May 2018 13:15:54 +0200 (CEST) Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 38070AEE3; Sat, 26 May 2018 11:15:54 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Sat, 26 May 2018 13:15:45 +0200 Message-Id: <20180526111545.20521-4-pvorel@suse.cz> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180526111545.20521-1-pvorel@suse.cz> References: <20180526111545.20521-1-pvorel@suse.cz> X-Virus-Scanned: clamav-milter 0.99.2 at in-5.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-5.smtp.seeweb.it Subject: [LTP] [PATCH 4/4] net/macsec0{1, 2}.sh: Use TST_NET_SKIP_PARSE_ARGS=1 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" These tests load ipsec_lib.sh and virt_lib.sh. Currently tst_net.sh doesn't support being used by more libraries, so when handling getopts the later one wins. Disabling variables as they aren't used in the runtest file. Signed-off-by: Petr Vorel --- Alexey, do you use library variables for debugging? Or would you prefer to be without this and to have at least one libraries getopts? Kind regards, Petr --- testcases/network/virt/macsec01.sh | 1 + testcases/network/virt/macsec02.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/testcases/network/virt/macsec01.sh b/testcases/network/virt/macsec01.sh index 52d6f071a..ddcd4b41c 100755 --- a/testcases/network/virt/macsec01.sh +++ b/testcases/network/virt/macsec01.sh @@ -24,6 +24,7 @@ TST_NEEDS_TMPDIR=1 virt_type="macsec" VIRT_PERF_THRESHOLD=${VIRT_PERF_THRESHOLD:-100} +TST_NET_SKIP_PARSE_ARGS=1 . ipsec_lib.sh . virt_lib.sh diff --git a/testcases/network/virt/macsec02.sh b/testcases/network/virt/macsec02.sh index 617860d41..215973bee 100755 --- a/testcases/network/virt/macsec02.sh +++ b/testcases/network/virt/macsec02.sh @@ -24,6 +24,7 @@ TST_NEEDS_TMPDIR=1 virt_type="macsec" VIRT_PERF_THRESHOLD=${VIRT_PERF_THRESHOLD:-100} +TST_NET_SKIP_PARSE_ARGS=1 . ipsec_lib.sh . virt_lib.sh