aboutsummaryrefslogtreecommitdiff
path: root/lib/rsh.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2006-05-23 02:43:22 +0000
committerBen Elliston <bje@gnu.org>2006-05-23 02:43:22 +0000
commit7f62e93865c3061a754313c8cb8137c8389c0ce8 (patch)
tree217c51fca973e4cf05a32b88fb45bd60836dc82b /lib/rsh.exp
parent459573046abde19dc73ec156a739490208af8e81 (diff)
downloaddejagnu-7f62e93865c3061a754313c8cb8137c8389c0ce8.zip
dejagnu-7f62e93865c3061a754313c8cb8137c8389c0ce8.tar.gz
dejagnu-7f62e93865c3061a754313c8cb8137c8389c0ce8.tar.bz2
* config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
* config/i960.exp (i960_spawn): Initialise status. * config/netware.exp (${board}_init): Brace some if expressions. * lib/dg.exp (dg-test): Brace some expressions. * lib/framework.exp (clone_output, log_and_exit, log_summary, record_test, pass, fail): Likewise. * lib/libgloss.exp (get_multilibs): Likewise. * lib/remote.exp (standard_transmit, unix_clean_filename, remote_load, check_for_board_status, remote_expect): Likewise. * lib/rsh.exp (rsh_exec): Likewise.
Diffstat (limited to 'lib/rsh.exp')
-rw-r--r--lib/rsh.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rsh.exp b/lib/rsh.exp
index 7c6472f..1c08788 100644
--- a/lib/rsh.exp
+++ b/lib/rsh.exp
@@ -288,5 +288,5 @@ proc rsh_exec { boardname cmd args } {
# Delete one trailing \n because that is what `exec' will do and we want
# to behave identical to it.
regsub "\n$" $output "" output
- return [list [expr $status != 0] $output]
+ return [list [expr {$status != 0}] $output]
}