test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_iavf_fdir:the error info changes no such device to invaild port
@ 2020-10-22  9:36 Xie wei
  2020-10-22  9:34 ` Xie, WeiX
  2020-10-29  8:56 ` Ma, LihongX
  0 siblings, 2 replies; 4+ messages in thread
From: Xie wei @ 2020-10-22  9:36 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-03  2:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22  9:36 [dts] [PATCH V1] tests/TestSuite_iavf_fdir:the error info changes no such device to invaild port Xie wei
2020-10-22  9:34 ` Xie, WeiX
2020-10-29  8:56 ` Ma, LihongX
2020-11-03  2:07   ` Tu, Lijuan

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).