[V2] tests/pmdpcap: update freebsd load driver command
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
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(-)
Comments
On Sun, 15 Jan 2023 20:38:12 -0500, Lingli Chen <linglix.chen@intel.com> wrote:
> update the command according to FreeBSD13.1
>
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
Applied, thanks
@@ -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):