[dts] [PATCH V1] fix scp error

Liu, Yong yong.liu at intel.com
Thu Oct 27 05:07:39 CEST 2016


Applied, please dry run with your patch first and then submit it out.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
> Sent: Thursday, October 27, 2016 10:54 AM
> To: dts at dpdk.org
> Subject: [dts] [PATCH V1] fix scp error
> 
> modify the word spelling error
> 
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
>  framework/ssh_pexpect.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 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 = pexpect.spawn(scp_cmd)
>          time.sleep(0.5)
>          ssh_newkey = 'Are you sure you want to continue connecting'
> -        i = p.expect([ssh_newkey, '[pP]ssword', "# ", pexpect.EOF,
> +        i = p.expect([ssh_newkey, '[pP]assword', "# ", pexpect.EOF,
>                        pexpect.TIMEOUT], 120)
>          if i == 0:  # add once in trust list
>              p.sendline('yes')
> -            i = p.expect([ssh_newkey, '[pP]ssword', pexpect.EOF], 2)
> +            i = p.expect([ssh_newkey, '[pP]assword', pexpect.EOF], 2)
> 
>          if i == 1:
>              time.sleep(0.5)
> --
> 1.9.3



More information about the dts mailing list