[dts] [PATCH] tests/vhost_pmd_xstats: fix a typo
Tu, Lijuan
lijuan.tu at intel.com
Mon May 13 09:49:50 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Rami Rosen
> Sent: Saturday, May 4, 2019 11:46 AM
> To: dts at dpdk.org
> Cc: Rami Rosen <ramirose at 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 at 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
More information about the dts
mailing list