[dts][PATCH V2] tests/pmdpcap: update freebsd load driver command

Lingli Chen linglix.chen at intel.com
Mon Jan 16 02:38:12 CET 2023


update the command according to FreeBSD13.1

Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
V2: reformat this suite

 tests/TestSuite_pmdpcap.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py
index a0bf3993..f690b7bd 100644
--- a/tests/TestSuite_pmdpcap.py
+++ b/tests/TestSuite_pmdpcap.py
@@ -33,7 +33,9 @@ class TestPmdPcap(TestCase):
         self.dut.restore_interfaces()
         os_type = self.dut.get_os_type()
         if os_type == "freebsd":
-            self.dut.send_expect("kldload contigmem", "#", 20)
+            self.dut.send_expect(
+                "kldload ./%s/kmod/contigmem.ko" % self.target, "#", 20
+            )
         self.path = self.dut.apps_name["test-pmd"]
 
     def create_pcap_file(self, filename, number_of_packets):
-- 
2.17.1



More information about the dts mailing list