From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44F81A04C1; Wed, 20 Nov 2019 10:34:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 088332F42; Wed, 20 Nov 2019 10:34:54 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 29BB72E8F for ; Wed, 20 Nov 2019 10:34:51 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2019 01:34:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,221,1571727600"; d="scan'208";a="237665216" Received: from unknown (HELO dpdk-zengxx-tester.localdomain) ([10.240.176.145]) by fmsmga002.fm.intel.com with ESMTP; 20 Nov 2019 01:34:50 -0800 From: Xiaoxiao Zeng To: dts@dpdk.org Cc: Xiaoxiao Zeng Date: Thu, 21 Nov 2019 05:34:38 +0800 Message-Id: <20191120213438.6931-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [dts] [PATCH V1] tests/shutdown_api:test_change_linkspeed add judgment range to suit CVL 100G X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" *.to suit CVL 100G. Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_shutdown_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 63fff84..f0a4eea 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -317,7 +317,7 @@ class TestShutdownApi(TestCase): out = self.tester.send_expect( "ethtool %s" % self.tester.get_interface(self.tester.get_local_port(self.ports[0])), "# ") - if 'fortville_spirit' == self.nic: + if 'fortville_spirit' == self.nic or 'columbiaville_100g' == self.nic: result_scanner = r"([0-9]+)baseSR4/([A-Za-z]+)" else: result_scanner = r"([0-9]+)baseT/([A-Za-z]+)" -- 2.17.0