[dts] [PATCH V1] tests/short_live: optimize script

Jiale Song songx.jiale at intel.com
Mon Mar 13 12:03:12 CET 2023


ensure that dpdk testpmd exits normally.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_short_live.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
index 518d168c..7a7810d5 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -153,6 +153,7 @@ class TestShortLiveApp(TestCase):
         self.verify(res is True, "there have port link is down")
 
         self.check_forwarding([0, 1], self.nic)
+        self.dut.send_expect("quit", "# ")
 
     def test_start_up_time(self):
         """
-- 
2.17.1



More information about the dts mailing list