test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running.
@ 2019-07-31  6:21 pvukkisala
  2019-08-06  9:36 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: pvukkisala @ 2019-07-31  6:21 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

Avoids failure of next tests, if l2fwd test is failed to kill because of
other exceptions

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_l2fwd.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py
index 4908fb7..b064afd 100644
--- a/tests/TestSuite_l2fwd.py
+++ b/tests/TestSuite_l2fwd.py
@@ -241,7 +241,8 @@ class TestL2fwd(TestCase):
         """
         Run after each test case.
         """
-        pass
+        self.dut.send_expect("fg", "l2fwd|# ", 5)
+        self.dut.send_expect("^C", "# ", 5)
 
     def tear_down_all(self):
         """
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-06  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31  6:21 [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running pvukkisala
2019-08-06  9:36 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).