[dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
zhang,yan
yanx.a.zhang at intel.com
Fri Oct 25 10:39:22 CEST 2019
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