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 222e36304c..7bdaa4fb5d 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 |
@@ -116,7 +116,7 @@ Test_SSH() | |||
116 | shift | 116 | shift |
117 | local command=$@ | 117 | local command=$@ |
118 | local tmpfile=`mktemp` | 118 | local tmpfile=`mktemp` |
119 | local timeout=60 | 119 | local time_out=60 |
120 | local ret=0 | 120 | local ret=0 |
121 | local exp_cmd=`cat << EOF | 121 | local exp_cmd=`cat << EOF |
122 | eval spawn ssh -o UserKnownHostsFile=$tmpfile root@$ip_addr "$command" | 122 | eval spawn ssh -o UserKnownHostsFile=$tmpfile root@$ip_addr "$command" |