[dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue

Ling, WeiX weix.ling at intel.com
Wed Sep 16 08:15:30 CEST 2020


Tested-by: Ling, Wei <weix.ling at intel.com>

Regards,
Ling Wei

-----Original Message-----
From: Ling, WeiX <weix.ling at intel.com> 
Sent: Wednesday, September 16, 2020 10:11 PM
To: dts at dpdk.org
Cc: Ling, WeiX <weix.ling at intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue

fix use incorrect path to start app issue

Signed-off-by: lingwei <weix.ling at intel.com>
---
 tests/TestSuite_hotplug.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py index 1882c84..22df230 100644
--- a/tests/TestSuite_hotplug.py
+++ b/tests/TestSuite_hotplug.py
@@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase):
 
         self.session2 = self.dut.create_session(name="virtio_user")
         eal_param = self.dut.create_eal_parameters(no_pci=True, fixed_prefix="virtio1", cores=cores[5:9])
-        testpmd_cmd2 = "%s " % (self.path) + eal_param + ' -- -i'
+        testpmd_cmd2 = "%s/%s " % (self.dut.base_dir, self.path) + eal_param + ' -- -i'
         self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=60)
         self.session2.send_expect(
             "port attach net_virtio_user1,mac=00:01:02:03:04:05,path=%s,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0" % path,
--
2.17.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestPortHotPlug.log
Type: application/octet-stream
Size: 31268 bytes
Desc: TestPortHotPlug.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200916/6372d022/attachment.obj>


More information about the dts mailing list