From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_iavf_fdir:the error info changes no such device to invaild port
Date: Thu, 22 Oct 2020 17:36:16 +0800 [thread overview]
Message-ID: <20201022093616.29080-1-weix.xie@intel.com> (raw)
run command with invalid port 'flow flush 2', the error info changes no such device to invaild port.
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_iavf_fdir.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py
index 05ec2d52..d1186471 100755
--- a/tests/TestSuite_iavf_fdir.py
+++ b/tests/TestSuite_iavf_fdir.py
@@ -2496,7 +2496,7 @@ class TestIAVFFdir(TestCase):
out2 = self.pmd_output.execute_cmd("flow destroy 2 rule 0")
self.verify("Invalid port" in out2, "there should report error message")
out3 = self.pmd_output.execute_cmd("flow flush 2")
- self.verify("No such device" in out3, "port 2 doesn't exist.")
+ self.verify("Invalid port" in out3, "port 2 doesn't exist.")
out4 = self.pmd_output.execute_cmd("flow list 2")
self.verify("Invalid port" in out4, "port 2 doesn't exist.")
--
2.17.1
next reply other threads:[~2020-10-22 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 9:36 Xie wei [this message]
2020-10-22 9:34 ` Xie, WeiX
2020-10-29 8:56 ` Ma, LihongX
2020-11-03 2:07 ` 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=20201022093616.29080-1-weix.xie@intel.com \
--to=weix.xie@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).