From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B9DCD37B3 for ; Wed, 9 Dec 2015 06:35:27 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 08 Dec 2015 21:35:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,402,1444719600"; d="scan'208";a="869741040" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 08 Dec 2015 21:35:25 -0800 From: Lijuan Tu To: dts@dpdk.org Date: Wed, 9 Dec 2015 13:30:57 +0800 Message-Id: <1449639057-98301-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH]fix scp with password X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 05:35:28 -0000 Signed-off-by: Lijuan Tu --- 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