From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3617F326F for ; Thu, 27 Oct 2016 05:07:44 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 26 Oct 2016 20:07:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,404,1473145200"; d="scan'208";a="1050861230" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 26 Oct 2016 20:07:42 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 26 Oct 2016 20:07:42 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 26 Oct 2016 20:07:42 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0248.002; Thu, 27 Oct 2016 11:07:40 +0800 From: "Liu, Yong" To: "Xu, GangX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] fix scp error Thread-Index: AQHSL/0981Qot2/gtEq53jjQu9GGZqC7nmDQ Date: Thu, 27 Oct 2016 03:07:39 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6030AE6B@SHSMSX103.ccr.corp.intel.com> References: <1477536851-4383-1-git-send-email-gangx.xu@intel.com> In-Reply-To: <1477536851-4383-1-git-send-email-gangx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGZjMzIwNjgtMzQxYS00MGUyLWE1ODQtYjJjNmM3OWNhNGRjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlRnZ3dGY1FMSXI2Q1JRekVRNUpZeVRPQkoxK1VCSEV1VE1lUkw4OFEzUjg9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] fix scp error 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: Thu, 27 Oct 2016 03:07:44 -0000 Applied, please dry run with your patch first and then submit it out. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang > Sent: Thursday, October 27, 2016 10:54 AM > To: dts@dpdk.org > Subject: [dts] [PATCH V1] fix scp error >=20 > modify the word spelling error >=20 > Signed-off-by: xu,gang > --- > framework/ssh_pexpect.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/framework/ssh_pexpect.py b/framework/ssh_pexpect.py > index 9668daf..d5b6616 100644 > --- a/framework/ssh_pexpect.py > +++ b/framework/ssh_pexpect.py > @@ -176,11 +176,11 @@ class SSHPexpect(object): > p =3D pexpect.spawn(scp_cmd) > time.sleep(0.5) > ssh_newkey =3D 'Are you sure you want to continue connecting' > - i =3D p.expect([ssh_newkey, '[pP]ssword', "# ", pexpect.EOF, > + i =3D p.expect([ssh_newkey, '[pP]assword', "# ", pexpect.EOF, > pexpect.TIMEOUT], 120) > if i =3D=3D 0: # add once in trust list > p.sendline('yes') > - i =3D p.expect([ssh_newkey, '[pP]ssword', pexpect.EOF], 2) > + i =3D p.expect([ssh_newkey, '[pP]assword', pexpect.EOF], 2) >=20 > if i =3D=3D 1: > time.sleep(0.5) > -- > 1.9.3