[V1] tests/short_live: optimize script

Message ID 20230313110312.1802790-1-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/short_live: optimize script |

Checks

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

Commit Message

Jiale Song March 13, 2023, 11:03 a.m. UTC
  ensure that dpdk testpmd exits normally.

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

Comments

Tu, Lijuan March 28, 2023, 12:59 a.m. UTC | #1
On Mon, 13 Mar 2023 11:03:12 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> ensure that dpdk testpmd exits normally.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks
  

Patch

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