test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable name.
@ 2020-01-20  1:23 zhu,shuai
  2020-01-20  5:45 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhu,shuai @ 2020-01-20  1:23 UTC (permalink / raw)
  To: dts; +Cc: yinan.wang, zhu,shuai

The variable name that started testpmd was written incorrectly. Modify the variable name.

Signed-off-by: zhu,shuai <shuaix.zhu@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


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

* Re: [dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable name.
  2020-01-20  1:23 [dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable name zhu,shuai
@ 2020-01-20  5:45 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-01-20  5:45 UTC (permalink / raw)
  To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan, Zhu, ShuaiX

applied

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Monday, January 20, 2020 9:24 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable
> name.
> 
> The variable name that started testpmd was written incorrectly. Modify the
> variable name.
> 
> Signed-off-by: zhu,shuai <shuaix.zhu@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


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

end of thread, other threads:[~2020-01-20  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  1:23 [dts] [PATCH V1] tests/vhost_1024_ethports:Modify the variable name zhu,shuai
2020-01-20  5:45 ` Tu, Lijuan

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