test suite reviews and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <ramirose@gmail.com>
To: dts@dpdk.org
Cc: Rami Rosen <ramirose@gmail.com>
Subject: [dts] [PATCH] framework/tester: fix typos
Date: Fri, 18 Jan 2019 14:53:52 +0200	[thread overview]
Message-ID: <20190118125352.8872-1-ramirose@gmail.com> (raw)

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 framework/tester.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/framework/tester.py b/framework/tester.py
index 4e651a1..0895673 100755
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -456,14 +456,14 @@ class Tester(Crb):
 
     def scapy_background(self):
         """
-        Configure scapy running in backgroud mode which mainly purpose is
+        Configure scapy running in background mode which mainly purpose is
         that save RESULT into scapyResult.txt.
         """
         self.inBg = True
 
     def scapy_foreground(self):
         """
-        Running backgroup scapy and convert to foregroup mode.
+        Running background scapy and convert to foreground mode.
         """
         self.send_expect("echo -n '' >  scapyResult.txt", "# ")
         if self.inBg:
@@ -587,7 +587,7 @@ class Tester(Crb):
                     for param in params:
                         layer, config = param
                         pkt.config_layer(layer, config)
-                # hardcode src/dst port for some protocal may cause issue
+                # hardcode src/dst port for some protocol may cause issue
                 if "TCP" in pkt_type:
                     pkt.config_layer('tcp', {'src': 65535, 'dst': 65535})
                 else:
@@ -628,7 +628,7 @@ class Tester(Crb):
         for txport, rxport in portList:
             recv_pkts = self.load_tcpdump_sniff_packets(rx_inst[rxport])
 
-            # only report when recevied number not matched
+            # only report when received number not matched
             if len(tx_pkts[txport]) > len(recv_pkts):
                 print ("Pkt number not matched,%d sent and %d received\n" \
                        % (len(tx_pkts[txport]), len(recv_pkts)))
@@ -661,7 +661,7 @@ class Tester(Crb):
                         prev_id = t_idx
 
                 if compare_f(tx_pkts[txport][t_idx], recv_pkts[idx], "L4") is False:
-                    print "Pkt recevied index %d not match original " \
+                    print "Pkt received index %d not match original " \
                           "index %d" % (idx, t_idx)
                     print "Sent: %s" % strip_f(tx_pkts[txport][t_idx], "L4")
                     print "Recv: %s" % strip_f(recv_pkts[idx], "L4")
-- 
2.19.2

                 reply	other threads:[~2019-01-18 12:53 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=20190118125352.8872-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).