[dts] [PATCH] tests/vhost_pmd_xstats: fix a typo
Rami Rosen
ramirose at gmail.com
Sat May 4 05:45:30 CEST 2019
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