[dts] [PATCH V1] tests/userspace_ethtool: optimization script

Jiale Song songx.jiale at intel.com
Thu Apr 28 16:39:24 CEST 2022


In some case tests, the port is bound to the kernel driver. when these cases fail, 
the port will always be bound to the kernel driver, affecting the tests of later cases.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 2b0269f4..c1818722 100755
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -699,6 +699,7 @@ class TestUserspaceEthtool(TestCase):
         """
         Run after each test case.
         """
+        self.dut.bind_interfaces_linux(self.drivername)
         self.dut.kill_all()
         pass
 
-- 
2.17.1



More information about the dts mailing list