TestSuite_tso.py: Exit from testpmd with quit in teardown

Message ID 1625555561-28775-1-git-send-email-pvukkisala@marvell.com (mailing list archive)
State Accepted
Headers
Series TestSuite_tso.py: Exit from testpmd with quit in teardown |

Commit Message

Phanendra Vukkisala July 6, 2021, 7:12 a.m. UTC
  From: Phanendra Vukkisala <pvukkisala@marvell.com>

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_tso.py |    1 +
 1 file changed, 1 insertion(+)
  

Comments

Tu, Lijuan July 12, 2021, 2:58 a.m. UTC | #1
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of pvukkisala@marvell.com
> Sent: 2021年7月6日 15:13
> To: dts@dpdk.org
> Cc: Phanendra Vukkisala <pvukkisala@marvell.com>
> Subject: [dts] [PATCH] TestSuite_tso.py: Exit from testpmd with quit in teardown
> 
> From: Phanendra Vukkisala <pvukkisala@marvell.com>
> 
> Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>

Applied thanks
  

Patch

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index 3ef1d42..1b5cda6 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -473,6 +473,7 @@  class TestTSO(TestCase):
         """
         Run after each test case.
         """
+        self.dut.send_expect("quit", "# ")
         self.dut.kill_all()
         time.sleep(2)