From: zhuwenhui <wenhuix.zhu@intel.com>
To: dts@dpdk.org
Cc: zhuwenhui <wenhuix.zhu@intel.com>
Subject: [dts] [PATCH V1] tests/change_linkspeed precise judgment condition
Date: Wed, 24 Apr 2019 09:57:51 +0800 [thread overview]
Message-ID: <1556071071-6844-1-git-send-email-wenhuix.zhu@intel.com> (raw)
Make the judgment conditions more precise
Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
---
tests/TestSuite_shutdown_api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 9f3f03f..d31392d 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -334,7 +334,7 @@ class TestShutdownApi(TestCase):
for port in self.ports:
out = self.tester.send_expect(
"ethtool %s" % self.tester.get_interface(self.tester.get_local_port(port)), "# ")
- self.verify("Speed: %s" % config[0] in out,
+ self.verify("Speed: %sMb/s" % config[0] in out,
"Wrong speed reported by the self.tester.")
self.verify("Duplex: %s" % config[1] in out,
"Wrong link type reported by the self.tester.")
--
2.17.2
next reply other threads:[~2019-04-24 1:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 1:57 zhuwenhui [this message]
2019-04-24 5:39 ` Yao, BingX Y
2019-05-06 1:29 ` Tu, Lijuan
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=1556071071-6844-1-git-send-email-wenhuix.zhu@intel.com \
--to=wenhuix.zhu@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).