diff options
Diffstat (limited to 'config/vxworks.exp')
-rw-r--r-- | config/vxworks.exp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config/vxworks.exp b/config/vxworks.exp index 233ae5a..e05c175 100644 --- a/config/vxworks.exp +++ b/config/vxworks.exp @@ -4,15 +4,15 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@gnu.org @@ -30,7 +30,7 @@ proc ${board}_init { dest } { set do_reboot 0 set desired_kernel [board_info $dest "kernel,$target_os"] - + if { $desired_kernel == "" } { vxworks_final_init $dest # Nothing to see here, nothing to do. Move along. @@ -47,7 +47,7 @@ proc ${board}_init { dest } { remote_send $dest "\n" exp_continue } - -re "VxWorks Boot" { + -re "VxWorks Boot" { set boot_mon 0 set boot_mon_prompt "VxWorks Boot" } @@ -264,7 +264,7 @@ proc vxworks_open { dest args } { # 1 - failed (eg: link failed so testcase should fail) # -1 - unresolved (eg: timeout), may be fixed by rebooting # -proc vxworks_ld { dest prog } { +proc vxworks_ld { dest prog } { global decimal hex global board_info @@ -312,7 +312,7 @@ proc vxworks_ld { dest prog } { perror "Need to set the user and password." set result 1 } - -re "Stale NFS file handle.*$shell_prompt $" { + -re "Stale NFS file handle.*$shell_prompt $" { # Need to retry. } -re "undefined symbol:.*$shell_prompt $" { @@ -336,13 +336,13 @@ proc vxworks_ld { dest prog } { -re "(.*)$shell_prompt $" { warning "Load failed: $expect_out(1,string)" } - timeout { + timeout { warning "Timed out trying load $prog." set result -1 } } } - + if { $result && [info exists expect_out(buffer)] } { send_log "$expect_out(buffer)" } |