[dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable name.
zhu,shuai
shuaix.zhu at intel.com
Mon Jan 20 02:23:33 CET 2020
The variable name that started testpmd was written incorrectly. Modify the variable name.
Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
tests/TestSuite_vhost_1024_ethports.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vhost_1024_ethports.py b/tests/TestSuite_vhost_1024_ethports.py
index 2a0bce8..6e02c83 100644
--- a/tests/TestSuite_vhost_1024_ethports.py
+++ b/tests/TestSuite_vhost_1024_ethports.py
@@ -79,7 +79,7 @@ class TestVhost1024Ethports(TestCase):
for ethport in range(self.max_ethport):
command_line_vdev += '--vdev "eth_vhost%d,iface=vhost-net%d,queues=%d" ' %(ethport, ethport, self.queue)
eal_params = self.dut.create_eal_parameters(cores="1S/2C/1T", prefix='vhost', ports=[self.pci_info])
- cmd = self.dut.target + '/app/testpmd ' + eal_params + command_line_vdev + ' -- -i'
+ command_line_client = self.dut.target + '/app/testpmd ' + eal_params + command_line_vdev + ' -- -i'
try:
out = self.vhost_user.send_expect(command_line_client, 'testpmd> ', 120)
except Exception as e:
--
2.17.2
More information about the dts
mailing list