diff mbox series

[V1,08/10] tests/virtio_event_idx_interrupt: Modify get_cbdma_ports_info

Message ID 20210729172404.90883-9-linglix.chen@intel.com (mailing list archive)
State Changes Requested
Headers show
Series fix script issues | expand

Commit Message

Chen, LingliX July 29, 2021, 5:24 p.m. UTC
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_virtio_event_idx_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py b/tests/TestSuite_virtio_event_idx_interrupt.py
index 37634f05..33c33df6 100644
--- a/tests/TestSuite_virtio_event_idx_interrupt.py
+++ b/tests/TestSuite_virtio_event_idx_interrupt.py
@@ -93,7 +93,7 @@  class TestVirtioIdxInterrupt(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]
         dmas_info = ''