test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/userspace_ethtool:Optimize test results
@ 2019-07-11  4:15 changqingxwu
  2019-08-07  2:23 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: changqingxwu @ 2019-07-11  4:15 UTC (permalink / raw)
  To: dts; +Cc: changqingxwu

Signed-off-by: changqingxwu <changqingx.wu@intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index c774552..dd8c9a6 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -316,9 +316,6 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
         portsinfo = []
         ori_drivers = []
         
-        if self.nic.startswith("fortville"):
-            return
-        
         for portid in range(len(self.ports)):
             self.dut.send_expect("regs %d regs_%d.bin" % (portid, portid), "EthApp>")
             portinfo = {'portid': portid, 'reg_file': 'regs_%d.bin' % portid}
@@ -338,7 +335,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
             # get linux interface
             intf = netdev.get_interface_name()
             out = self.dut.send_expect("ethtool -d %s raw off file %s" % (intf, portinfo['reg_file']), "# ")
-            self.verify(("LINKS" in out and "FCTRL" in out), "Failed to dump %s registers" % intf)
+            self.verify(("register" in out and "CTRL" in out), "Failed to dump %s registers" % intf)
 
         for index in range(len(self.ports)):
             # bind to original driver
-- 
2.17.2


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

end of thread, other threads:[~2019-08-07  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11  4:15 [dts] [PATCH V1] tests/userspace_ethtool:Optimize test results changqingxwu
2019-08-07  2:23 ` 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).