diff mbox series

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

Message ID 20230116013812.29352-1-linglix.chen@intel.com (mailing list archive)
State New
Headers show
Series [V2] tests/pmdpcap: update freebsd load driver command | expand

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Lingli Chen Jan. 16, 2023, 1:38 a.m. UTC
update the command according to FreeBSD13.1

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

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

Patch

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):