[dts] [PATCH] tests/dynamic_config: fix typos
Rami Rosen
ramirose at gmail.com
Sat Jan 19 13:35:54 CET 2019
Signed-off-by: Rami Rosen <ramirose at gmail.com>
---
tests/TestSuite_dynamic_config.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tests/TestSuite_dynamic_config.py b/tests/TestSuite_dynamic_config.py
index d11a6b1..012421c 100644
--- a/tests/TestSuite_dynamic_config.py
+++ b/tests/TestSuite_dynamic_config.py
@@ -140,9 +140,9 @@ class TestDynamicConfig(TestCase):
out = self.dut.send_expect("show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
- # check the pakcet increasment
+ # check the packet increment
self.verify(int(cur_rxpkt) == int(pre_rxpkt)
- + 1, "1st packet increasement check error")
+ + 1, "1st packet increment check error")
# send one packet with the portid MAC address
self.dynamic_config_send_packet(portid, self.dest)
@@ -151,9 +151,9 @@ class TestDynamicConfig(TestCase):
out = self.dut.send_expect("show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
- # check the pakcet increasment
+ # check the packet increment
self.verify(int(cur_rxpkt) == int(pre_rxpkt)
- + 1, "2nd packet increasement check error")
+ + 1, "2nd packet increment check error")
def test_dynamic_config_disable_promiscuous(self):
"""
@@ -173,14 +173,14 @@ class TestDynamicConfig(TestCase):
"show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
self.verify(int(cur_rxpkt) == int(
- pre_rxpkt), "1st packet increasment error")
+ pre_rxpkt), "1st packet increment error")
self.dynamic_config_send_packet(portid, self.dest)
pre_rxpkt = cur_rxpkt
out = self.dut.send_expect(
"show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
self.verify(int(cur_rxpkt) == int(
- pre_rxpkt) + 1, "2nd packet increasment error")
+ pre_rxpkt) + 1, "2nd packet increment error")
def test_dynamic_config_broadcast(self):
"""
@@ -255,9 +255,9 @@ class TestDynamicConfig(TestCase):
out = self.dut.send_expect("show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
- # check the pakcet increasment
+ # check the packet increment
self.verify(int(cur_rxpkt) == int(pre_rxpkt)
- + 1, "1st packet increasment error")
+ + 1, "1st packet increment error")
# send one packet with the portid MAC address
self.dynamic_config_send_packet(portid, self.dest)
@@ -266,9 +266,9 @@ class TestDynamicConfig(TestCase):
out = self.dut.send_expect("show port stats %d" % self.dut_ports[1], "testpmd> ")
cur_rxpkt = utils.regexp(out, "TX-packets: ([0-9]+)")
- # check the pakcet increasment
+ # check the packet increment
self.verify(int(cur_rxpkt) == int(pre_rxpkt)
- + 1, "2nd packet increasment error")
+ + 1, "2nd packet increment error")
#self.dut.send_expect("quit", "# ", 30)
--
2.19.2
More information about the dts
mailing list