[dts][PATCH V1] tests/cbdma: fix testcase7 quit testpmd issue

Wei Ling weix.ling at intel.com
Mon Mar 20 06:14:24 CET 2023


Fix case7 quit testpmd issue, and delete unused self.result_table_print().

Signed-off-by: Wei Ling <weix.ling at intel.com>
---
 tests/TestSuite_cbdma.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_cbdma.py b/tests/TestSuite_cbdma.py
index d5198472..e5f66a51 100644
--- a/tests/TestSuite_cbdma.py
+++ b/tests/TestSuite_cbdma.py
@@ -412,9 +412,8 @@ class TestCBDMA(TestCase):
             cores=self.core_list, ports=dev_info
         )
         self.launch_dma_app(eal_params)
-        self.send_session.send_expect("^C", "#")
-        self.pmdout.execute_cmd("^C")
-        self.result_table_print()
+        self.send_session.send_expect("^C", "# ")
+        self.pmdout.execute_cmd("quit", "# ")
 
     def tear_down(self):
         """
-- 
2.25.1



More information about the dts mailing list