[dts] [PATCH]fix scp with password

Lijuan Tu lijuanx.a.tu at intel.com
Wed Dec 9 06:30:57 CET 2015


Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
---
 framework/crb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/crb.py b/framework/crb.py
index 3470ca1..e3fae2f 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -347,7 +347,7 @@ class Crb(object):
         """
         with open(fileName, "w") as f:
             f.write(contents)
-        self.session.copy_file_to(fileName)
+        self.session.copy_file_to(fileName, password=self.get_password())
 
     def kill_all(self, alt_session=True):
         """
-- 
1.8.4.2



More information about the dts mailing list