[V1] tests/TestSuite_iavf_fdir:the error info changes no such device to invaild port
Commit Message
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(-)
Comments
Tested-by: Xie,WeiX < weix.xie@intel.com>
Regards,
Xie Wei
> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Thursday, October 22, 2020 5:36 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_iavf_fdir:the error info changes no
> such device to invaild port
Acke-by: Lihong Ma<lihongx.ma@intel.com>
Regards,
Ma,lihong
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Thursday, October 22, 2020 5:36 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_iavf_fdir:the error info changes
> no such device to invaild port
>
> 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>
> ---
> > 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>
> Acke-by: Lihong Ma<lihongx.ma@intel.com>
Applied
@@ -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.")