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 DAC19A0093; Thu, 21 May 2020 11:41:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94B331D678; Thu, 21 May 2020 11:41:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id DAA111D669 for ; Thu, 21 May 2020 11:41:54 +0200 (CEST) IronPort-SDR: nO8kd+qa9eM0bo+TZdd7s1IU83tIuDXFClXsxAqwd4mBMlQHvTAHAPy6ctNY///vV4+4lIsRyV GRdC/RgjbG2g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 02:41:53 -0700 IronPort-SDR: TAhmnYv3emtfRx3iqy69ii68Uji2nsb2dHHR6SFfYP5EU0mY/rvOg9DGSFYn3z4KAALkZjz/eb TdYeGVul672g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,417,1583222400"; d="scan'208";a="282993102" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.183.135]) by orsmga002.jf.intel.com with ESMTP; 21 May 2020 02:41:52 -0700 From: Xie Wei To: dts@dpdk.org Cc: Xie Wei Date: Thu, 21 May 2020 17:31:51 +0800 Message-Id: <1590053511-68496-1-git-send-email-weix.xie@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/floating_veb: reject space in pci id 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" Signed-off-by: Xie Wei --- tests/TestSuite_floating_veb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_veb.py index 350d8fa..bf83cb5 100644 --- a/tests/TestSuite_floating_veb.py +++ b/tests/TestSuite_floating_veb.py @@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase): """ self.setup_env(driver=self.drivername, vf_num=4) # start PF - self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) self.dut.send_expect("port start all", "testpmd>") time.sleep(2) # VF1->VF0 @@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase): """ self.setup_env(driver=self.drivername, vf_num=4) # VF0->PF - self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) self.dut.send_expect("set fwd rxonly", "testpmd>") self.dut.send_expect("set promisc all off", "testpmd>") self.dut.send_expect("start", "testpmd>") -- 2.17.2