test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo
@ 2019-05-04  3:45 Rami Rosen
  2019-05-13  7:49 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2019-05-04  3:45 UTC (permalink / raw)
  To: dts; +Cc: Rami Rosen

This patch fixes a typo in tests/vhost_pmd_xstats:
rx_package => rx_packets
tx_package => tx_packets

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 tests/TestSuite_vhost_pmd_xstats.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vhost_pmd_xstats.py b/tests/TestSuite_vhost_pmd_xstats.py
index db59f48..75b87a6 100755
--- a/tests/TestSuite_vhost_pmd_xstats.py
+++ b/tests/TestSuite_vhost_pmd_xstats.py
@@ -216,7 +216,7 @@ class TestVhostPmdXstats(TestCase):
             "show port xstats %s" % self.dut_ports[0], "testpmd>", 60)
         rx_packet = re.search("rx_size_64_packets:\s*(\d*)", out_0)
         rx_packets = rx_packet.group(1)
-        self.verify(self.scapy_num == int(rx_packets), "Error for rx_package:%s != tx_package :%s" % (
+        self.verify(self.scapy_num == int(rx_packets), "Error for rx_packets:%s != tx_packets :%s" % (
             self.scapy_num, int(rx_packets)))
 
     def tear_down(self):
-- 
1.8.3.1


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

* Re: [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo
  2019-05-04  3:45 [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo Rami Rosen
@ 2019-05-13  7:49 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-05-13  7:49 UTC (permalink / raw)
  To: Rami Rosen, dts

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Rami Rosen
> Sent: Saturday, May 4, 2019 11:46 AM
> To: dts@dpdk.org
> Cc: Rami Rosen <ramirose@gmail.com>
> Subject: [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo
> 
> This patch fixes a typo in tests/vhost_pmd_xstats:
> rx_package => rx_packets
> tx_package => tx_packets
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> ---
>  tests/TestSuite_vhost_pmd_xstats.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vhost_pmd_xstats.py
> b/tests/TestSuite_vhost_pmd_xstats.py
> index db59f48..75b87a6 100755
> --- a/tests/TestSuite_vhost_pmd_xstats.py
> +++ b/tests/TestSuite_vhost_pmd_xstats.py
> @@ -216,7 +216,7 @@ class TestVhostPmdXstats(TestCase):
>              "show port xstats %s" % self.dut_ports[0], "testpmd>", 60)
>          rx_packet = re.search("rx_size_64_packets:\s*(\d*)", out_0)
>          rx_packets = rx_packet.group(1)
> -        self.verify(self.scapy_num == int(rx_packets), "Error for
> rx_package:%s != tx_package :%s" % (
> +        self.verify(self.scapy_num == int(rx_packets), "Error for
> rx_packets:%s != tx_packets :%s" % (
>              self.scapy_num, int(rx_packets)))
> 
>      def tear_down(self):
> --
> 1.8.3.1


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

end of thread, other threads:[~2019-05-13  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-04  3:45 [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo Rami Rosen
2019-05-13  7:49 ` 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).