[dts] [DTS][PATCH] add link bonding rss config unit test

Jingguo Fu jingguox.fu at intel.com
Fri Nov 20 08:48:33 CET 2015


Signed-off-by: Jingguo Fu <jingguox.fu at intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index b2773f0..040b3b9 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -398,6 +398,14 @@ class TestUnitTestsEal(TestCase):
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
+    def test_link_bonding_rssconf(self):
+        """
+        """
+        self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", self.start_test_time)
+        out = self.dut.send_expect("link_bonding_rssconf_autotest", "RTE>>", self.run_cmd_time)
+        self.dut.send_expect("quit", "# ")
+        self.verify("Test OK" in out, "Test failed")
+
     def tear_down(self):
         """
         Run after each test case.
-- 
2.1.0



More information about the dts mailing list