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

Message ID 20230320051424.3263535-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/cbdma: fix testcase7 quit testpmd issue |

Checks

Context Check Description
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-format-test success Testing OK

Commit Message

Ling, WeiX March 20, 2023, 5:14 a.m. UTC
  Fix case7 quit testpmd issue, and delete unused self.result_table_print().

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

Comments

Tu, Lijuan March 28, 2023, 1 a.m. UTC | #1
On Mon, 20 Mar 2023 13:14:24 +0800, Wei Ling <weix.ling@intel.com> wrote:
> Fix case7 quit testpmd issue, and delete unused self.result_table_print().
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks
  

Patch

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):
         """