dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddb.exp fix


From: Ben Elliston
Subject: ddb.exp fix
Date: 07 Aug 2003 14:15:41 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

To use the old catch-cry: "How did this ever work?" :-)
Committed.

Ben

2003-08-07  Ben Elliston  <address@hidden>

        * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
        to increment count rather than count++ as in C.

Index: config/ddb.exp
===================================================================
RCS file: /cvsroot/dejagnu/dejagnu/config/ddb.exp,v
retrieving revision 1.5
diff -u -p -r1.5 ddb.exp
--- config/ddb.exp      7 Aug 2003 03:58:36 -0000       1.5
+++ config/ddb.exp      7 Aug 2003 04:12:01 -0000
@@ -64,7 +64,7 @@ proc ${board}_init { dest } {
                }
                timeout { }
                -re "0x0" {
-                   count++
+                   incr count
                    if(count<5) {
                        exp_continue
                    }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]