From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37798A0C46; Thu, 29 Jul 2021 11:23:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAB634111E; Thu, 29 Jul 2021 11:23:11 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 36A79410DE for ; Thu, 29 Jul 2021 11:23:09 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="234731929" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="234731929" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 02:22:59 -0700 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="456788373" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 02:22:58 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Thu, 29 Jul 2021 17:24:00 +0000 Message-Id: <20210729172404.90883-7-linglix.chen@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210729172404.90883-1-linglix.chen@intel.com> References: <20210729172404.90883-1-linglix.chen@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 06/10] tests/vhost_virtio_pmd_interrupt: Modify get_cbdma_ports_info X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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: Lingli Chen --- tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index 675a15ee..e2859f8e 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -276,7 +276,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): self.verify(self.drivername == 'igb_uio', "CBDMA test case only use igb_uio driver, need config drivername=igb_uio in execution.cfg") out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30) - cbdma_dev_infos = re.findall('\s*(0000:\d+:\d+.\d+)', out) + cbdma_dev_infos = re.findall('\s*(0000:\S+:\d+.\d+)', out) self.verify(len(cbdma_dev_infos) >= cbdma_num, 'There no enough cbdma device to run this suite') used_cbdma = cbdma_dev_infos[0:cbdma_num] -- 2.32.0