From: Rami Rosen <ramirose@gmail.com>
To: dts@dpdk.org
Cc: Rami Rosen <ramirose@gmail.com>
Subject: [dts] [PATCH] tests/dynamic_config: fix typos
Date: Sat, 19 Jan 2019 14:35:54 +0200 [thread overview]
Message-ID: <20190119123554.9497-1-ramirose@gmail.com> (raw)
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
reply other threads:[~2019-01-19 12:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190119123554.9497-1-ramirose@gmail.com \
--to=ramirose@gmail.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).