From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 906CB10A3 for ; Sat, 19 Jan 2019 13:36:01 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id b11so6884511wmj.1 for ; Sat, 19 Jan 2019 04:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OkIQXRw3h2BO17arQDFYftKsRzLtFEu/n1jE0GAE7Xw=; b=u+KGPECsXP6YamwoyON2MglGinE4Jgb8hoMZzieZNGzT5M7QRTx7R+aj/HZqv/MsND Si9V/4eq1lS2WELec0U0KvEYeXUlv0xrYCxNs6sf990e+tZGKTUgeShYpijbcVIiO+v0 nDKVrvJdLzBoSHJ1no3egRULMh6ubRA2GPo4pQk6FXM/H55ERll0pATs7E6RsHzSwTNP e511yfjLK3JF+2ze1xkpvvTLEe/3MC2zrV84iOCSra4BUQz3o9YWhaLZvsQ9IvhMA6xU P7vy9C1Ew+v/GdXBFicyH/aX3LNl+apeJbSnW0fGwWSxFndCPT7jUnZ78t4nlcFvaP/O TIyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OkIQXRw3h2BO17arQDFYftKsRzLtFEu/n1jE0GAE7Xw=; b=md1OXw5Nanlk3B/QkCiaQERM8C7H4OGIyiIPK3lFwijpI9bBzz5t3G3p/PbRXTb0Ql yqtyEOBg9d6zgG4YLEPZz4HWThINlLCOF8jSk2K0H+uM22GgNDRSxyaiD9U/X8Zy9wlc XcGWHruGAL8XZphT6iQSgdZN/9kTSXeGI3c9clGXh+F+/TaOIcHZqF2/YdOHg5ll0Pxz koudfuNKfnOylT09BC/onvzGZnsgl78RyNbFIO12R6VwX2z5E9fvx2sGRMfKz4rOHjpc HkbBCwpdV5hCL7qOpPBjN6f4Cz7g+965zWs042NeMnZ/AxF5qmAydxROCcuuGxnTG135 bC0w== X-Gm-Message-State: AJcUukc1eNsZ3DrKlnNdlBIqLnaaAyJ6+pBhWEI14j2TLX4iyoyR6ZGh wgEUXjrbkBWuCD0+xV8zVmOo16Yr X-Google-Smtp-Source: ALg8bN4wyhB2iPfGOlMmiWmZvBT9R5xPGpWy9HoIkb7eCZiTEnEazxyQ3hjRdI9Nr/lEKpb3mIB+ew== X-Received: by 2002:a1c:c543:: with SMTP id v64mr17959352wmf.123.1547901360966; Sat, 19 Jan 2019 04:36:00 -0800 (PST) Received: from localhost.localdomain (bzq-109-66-107-204.red.bezeqint.net. [109.66.107.204]) by smtp.gmail.com with ESMTPSA id n6sm44362985wmk.9.2019.01.19.04.35.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jan 2019 04:36:00 -0800 (PST) From: Rami Rosen To: dts@dpdk.org Cc: Rami Rosen Date: Sat, 19 Jan 2019 14:35:54 +0200 Message-Id: <20190119123554.9497-1-ramirose@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH] tests/dynamic_config: fix typos X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2019 12:36:01 -0000 Signed-off-by: Rami Rosen --- 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