test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/dynamic_config: fix typos
@ 2019-01-19 12:35 Rami Rosen
  0 siblings, 0 replies; only message in thread
From: Rami Rosen @ 2019-01-19 12:35 UTC (permalink / raw)
  To: dts; +Cc: Rami Rosen

Signed-off-by: Rami Rosen <ramirose@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-19 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-19 12:35 [dts] [PATCH] tests/dynamic_config: fix typos Rami Rosen

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