test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2] tests/pmdpcap: update freebsd load driver command
@ 2023-01-16  1:38 Lingli Chen
  2023-03-03  5:44 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Lingli Chen @ 2023-01-16  1:38 UTC (permalink / raw)
  To: dts; +Cc: Lingli Chen

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


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

end of thread, other threads:[~2023-03-03  5:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16  1:38 [dts][PATCH V2] tests/pmdpcap: update freebsd load driver command Lingli Chen
2023-03-03  5:44 ` lijuan.tu

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