[dts] [PATCH V2] tests/flags:case should unbind its own dirver

Zhu, WenhuiX wenhuix.zhu at intel.com
Tue Dec 25 03:17:39 CET 2018


Tested-by : Zhu, WenhuiX <wenhuix.zhu at intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yaobing
Sent: Tuesday, December 25, 2018 10:16 AM
To: dts at dpdk.org
Cc: Yao, BingX Y <bingx.y.yao at intel.com>
Subject: [dts] [PATCH V2] tests/flags:case should unbind its own dirver

unbind_interfaces_linux() can unbind its own driver,do not need pass parameters

Signed-off-by: yaobing <bingx.y.yao at intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 8299b51..9e843e4 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -261,7 +261,7 @@ class TestUnitTestsEal(TestCase):
         Run eal flags autotest.
         """
 
-        self.dut.unbind_interfaces_linux(driver=self.drivername)
+        self.dut.unbind_interfaces_linux()
         self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
         # on FreeBSD need more time than other OS
         out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
--
2.17.2



More information about the dts mailing list