[dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
Tu, Lijuan
lijuan.tu at intel.com
Mon Nov 4 04:19:24 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhang,yan
> Sent: Friday, October 25, 2019 4:39 PM
> To: dts at dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong
> matching method
>
> Modify the wrong matching method.
>
> Signed-off-by: zhang,yan <yanx.a.zhang at intel.com>
> ---
> tests/TestSuite_kernelpf_iavf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_kernelpf_iavf.py
> b/tests/TestSuite_kernelpf_iavf.py
> index 4424ae2..668eb28 100644
> --- a/tests/TestSuite_kernelpf_iavf.py
> +++ b/tests/TestSuite_kernelpf_iavf.py
> @@ -144,7 +144,7 @@ class TestKernelpfIavf(TestCase):
> self.sriov_vfs_port = self.dut.ports_info[
> self.used_dut_port]['vfs_port']
> out = self.dut.send_expect('ethtool %s' % self.host_intf, '#')
> - self.speed = re.findall('Supported link modes: (\d*)', out)[0]
> + self.speed = re.findall('Speed: (\d*)', out)[0]
> if set_vf_mac is True:
> self.vf_mac = "00:01:23:45:67:89"
> self.dut.send_expect("ip link set %s vf 0 mac %s" %
> --
> 2.17.2
More information about the dts
mailing list