DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1] dts: fix smoke tests driver regex
@ 2024-02-23  8:30 Juraj Linkeš
  2024-02-26 14:20 ` Jeremy Spewock
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Juraj Linkeš @ 2024-02-23  8:30 UTC (permalink / raw)
  To: thomas, Honnappa.Nagarahalli, jspewock, probb, paul.szczepanek,
	Luca.Vizzarro
  Cc: dev, Juraj Linkeš

Add hyphen to the regex, which is needed for drivers such as vfio-pci.

Fixes: 88489c0501af ("dts: add smoke tests")
Cc: jspewock@iol.unh.edu
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 dts/tests/TestSuite_smoke_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/tests/TestSuite_smoke_tests.py b/dts/tests/TestSuite_smoke_tests.py
index 5e2bac14bd..1be5c3047e 100644
--- a/dts/tests/TestSuite_smoke_tests.py
+++ b/dts/tests/TestSuite_smoke_tests.py
@@ -130,7 +130,7 @@ def test_device_bound_to_driver(self) -> None:
             # with the address for the nic we are on in the loop and then captures the
             # name of the driver in a group
             devbind_info_for_nic = re.search(
-                f"{nic.pci}[^\\n]*drv=([\\d\\w]*) [^\\n]*",
+                f"{nic.pci}[^\\n]*drv=([\\d\\w-]*) [^\\n]*",
                 all_nics_in_dpdk_devbind,
             )
             self.verify(
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-07  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23  8:30 [PATCH v1] dts: fix smoke tests driver regex Juraj Linkeš
2024-02-26 14:20 ` Jeremy Spewock
     [not found] ` <CAJvnSUDJbVvvKc6tDQ=Y0z4Wg9hNiSs-cjJ1iK3MvcXqi+j3Dg@mail.gmail.com>
2024-02-29 18:13   ` Nicholas Pratte
2024-03-07  9:47 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).