[dts] [PATCH] framework test_case: enter into dpdk directory after restore session

Marvin Liu yong.liu at intel.com
Wed Jul 26 04:38:13 CEST 2017


Signed-off-by: Marvin Liu <yong.liu at 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



More information about the dts mailing list