From: "Zhou,JunX W" <junx.w.zhou@intel.com>
To: dts@dpdk.org
Cc: "Zhou,JunX W" <junx.w.zhou@intel.com>
Subject: [dts] [PATCH V1] tests/unit_tests_ringpmd:Fix variable name and string concatenation error
Date: Wed, 22 Jan 2020 17:05:48 +0800 [thread overview]
Message-ID: <1579683948-5474-1-git-send-email-junx.w.zhou@intel.com> (raw)
dev_strt2 is not define,dev_str2 is right;
There should be only two '%' in 'self.dut.send_expect("./%s/app/test %s %s"'
Signed-off-by: Zhou,JunX W <junx.w.zhou@intel.com>
---
tests/TestSuite_unit_tests_ringpmd.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
index 49895a1..19abb6e 100644
--- a/tests/TestSuite_unit_tests_ringpmd.py
+++ b/tests/TestSuite_unit_tests_ringpmd.py
@@ -80,8 +80,8 @@ class TestUnitTestsRingPmd(TestCase):
self.dut.send_expect("quit", "# ")
self.verify("Test OK" in out, "Default no eth_ring devices Test failed")
- eal_params = self.dut.create_eal_parameters(cores=self.cores,vdevs=[dev_str1,dev_strt2])
- self.dut.send_expect("./%s/app/test %s %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 10)
+ eal_params = self.dut.create_eal_parameters(cores=self.cores,vdevs=[dev_str1,dev_str2])
+ self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 10)
out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
self.dut.send_expect("quit", "# ")
self.verify("Test OK" in out, "Two eth_ring devices test failed")
--
2.17.2
next reply other threads:[~2020-01-22 9:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-22 9:05 Zhou,JunX W [this message]
2020-01-22 9:31 ` Zeng, XiaoxiaoX
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=1579683948-5474-1-git-send-email-junx.w.zhou@intel.com \
--to=junx.w.zhou@intel.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).