[dts] [PATCH V1] tests/TestSuite_userspace_ethtool.py:Fvl and cvl do not check the nic status

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 06:26:03 CET 2019


Please rework it:

Applying: tests/TestSuite_userspace_ethtool.py:Fvl and cvl do not check the nic status
.git/rebase-apply/patch:14: trailing whitespace.
        if self.nic.startswith("fortville") == False and self.nic.startswith("columbiaville") == False:
warning: 1 line adds whitespace errors.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng Zhihong
> Sent: Friday, November 22, 2019 11:21 AM
> To: dts at dpdk.org
> Cc: Peng, ZhihongX <zhihongx.peng at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_userspace_ethtool.py:Fvl and cvl do
> not check the nic status
> 
> tests/TestSuite_userspace_ethtool.py:Fvl and cvl do not check the nic status
> 
> Signed-off-by: Peng Zhihong <zhihongx.peng at intel.com>
> ---
>  tests/TestSuite_userspace_ethtool.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_userspace_ethtool.py
> b/tests/TestSuite_userspace_ethtool.py
> index 92724aa..743be63 100644
> --- a/tests/TestSuite_userspace_ethtool.py
> +++ b/tests/TestSuite_userspace_ethtool.py
> @@ -259,7 +259,7 @@ class TestUserspaceEthtool(TestCase,
> IxiaPacketGenerator):
>          # only detect physical link disconnect status
>          verify_pass = True
>          verify_msg = ''
> -        if self.nic.startswith("fortville") == False or
> self.nic.startswith("columbiaville"):
> +        if self.nic.startswith("fortville") == False and
> self.nic.startswith("columbiaville") == False:
>              # check link status dump function
>              for port in self.ports:
>                  tester_port = self.tester.get_local_port(port)
> --
> 2.17.1



More information about the dts mailing list