aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-03-02 22:16:06 +0000
committerMichael Snyder <msnyder@vmware.com>2007-03-02 22:16:06 +0000
commitfc133f2406bee1993e1e692e568bea16788480f0 (patch)
treec1ee064534316aadf789a47f92d5c0c731e206e2 /gdb/testsuite
parent7646a51d49b2f49114d57f8db7798d1c5da5ba00 (diff)
downloadgdb-fc133f2406bee1993e1e692e568bea16788480f0.zip
gdb-fc133f2406bee1993e1e692e568bea16788480f0.tar.gz
gdb-fc133f2406bee1993e1e692e568bea16788480f0.tar.bz2
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.threads/manythreads.exp: Use $message string for consistancy; add a default (timeout) case.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d571b5a..5597bc3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
+ * gdb.threads/manythreads.exp: Use $message string for
+ consistancy; add a default (timeout) case.
+
+2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
+
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index 7569f02..903a3b1 100644
--- a/gdb/testsuite/gdb.threads/manythreads.exp
+++ b/gdb/testsuite/gdb.threads/manythreads.exp
@@ -108,7 +108,10 @@ gdb_test_multiple "" "stop threads 2" {
exp_continue
}
-re "Program received signal SIGINT.*$gdb_prompt $" {
- pass "stop threads 2"
+ pass "$message"
+ }
+ timeout {
+ fail "$message (timeout)"
}
}