* lib/remote.exp (remote_expect): Fix spelling error.
authorBen Elliston <bje@gnu.org>
Tue, 29 Mar 2016 10:41:15 +0000 (21:41 +1100)
committerBen Elliston <bje@gnu.org>
Tue, 29 Mar 2016 10:41:15 +0000 (21:41 +1100)
ChangeLog
lib/remote.exp

index f4b2d2e..e832276 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-29  Ben Elliston  <bje@gnu.org>
+
+       * lib/remote.exp (remote_expect): Fix spelling error.
+
 2016-03-29  Rob Savoye  <rob.savoye@linaro.org>
 
        * runtest.exp: Only print "searching for <test name>" message at
index 550f487..95b6e9e 100644 (file)
@@ -1294,12 +1294,14 @@ proc remote_expect { board timeout args } {
     }
 
     if {$code == 1} {
-       if {[info exists string]} {send_user "ERROR OCCURED: $errorInfo $errorCode $string"}
+       if {[info exists string]} {
+           send_user "ERROR OCCURRED: $errorInfo $errorCode $string"
+       }
 
        if { $error_sect != "" } {
            set code [catch {uplevel $error_sect} string]
        } else {
-           warning "remote_expect statement without a default case?!"
+           warning "remote_expect statement without a default case"
            return
        }
     }