test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework test_case: enter into dpdk directory after restore session
@ 2017-07-26  2:38 Marvin Liu
  0 siblings, 0 replies; only message in thread
From: Marvin Liu @ 2017-07-26  2:38 UTC (permalink / raw)
  To: dts; +Cc: Marvin Liu

Signed-off-by: Marvin Liu <yong.liu@intel.com>

diff --git a/framework/test_case.py b/framework/test_case.py
index 4fb74f1..31a5eaf 100644
--- a/framework/test_case.py
+++ b/framework/test_case.py
@@ -66,6 +66,7 @@ class TestCase(object):
         # check session and reconnect if possible
         for dutobj in self.duts:
             self._check_and_reconnect(crb=dutobj)
+            dutobj.send_expect("cd %s" % dutobj.base_dir, "#")
         self._check_and_reconnect(crb=self.tester)
 
         # try to recover all dut ports
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-26  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26  2:38 [dts] [PATCH] framework test_case: enter into dpdk directory after restore session Marvin Liu

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).