test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH]fix scp with password
@ 2015-12-09  5:30 Lijuan Tu
  2015-12-10  2:09 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2015-12-09  5:30 UTC (permalink / raw)
  To: dts

Signed-off-by: Lijuan Tu <lijuanx.a.tu@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

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

end of thread, other threads:[~2015-12-10  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-09  5:30 [dts] [PATCH]fix scp with password Lijuan Tu
2015-12-10  2:09 ` Liu, Yong

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