diff options
| -rwxr-xr-x | scripts/qemuimage-testlib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib index 6a1b9002a4..f52ac7bb86 100755 --- a/scripts/qemuimage-testlib +++ b/scripts/qemuimage-testlib | |||
| @@ -83,7 +83,7 @@ Test_SCP() | |||
| 83 | local src=$2 | 83 | local src=$2 |
| 84 | local des=$3 | 84 | local des=$3 |
| 85 | local tmpfile=`mktemp` | 85 | local tmpfile=`mktemp` |
| 86 | local timeout=60 | 86 | local time_out=60 |
| 87 | local ret=0 | 87 | local ret=0 |
| 88 | 88 | ||
| 89 | # We use expect to interactive with target by ssh | 89 | # We use expect to interactive with target by ssh |
| @@ -109,7 +109,7 @@ Test_SSH() | |||
| 109 | shift | 109 | shift |
| 110 | local command=$@ | 110 | local command=$@ |
| 111 | local tmpfile=`mktemp` | 111 | local tmpfile=`mktemp` |
| 112 | local timeout=60 | 112 | local time_out=60 |
| 113 | local ret=0 | 113 | local ret=0 |
| 114 | local exp_cmd=`cat << EOF | 114 | local exp_cmd=`cat << EOF |
| 115 | eval spawn ssh -o UserKnownHostsFile=$tmpfile root@$ip_addr "$command" | 115 | eval spawn ssh -o UserKnownHostsFile=$tmpfile root@$ip_addr "$command" |
