summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2007-03-02 22:16:06 +0000
committerMichael Snyder <msnyder@specifix.com>2007-03-02 22:16:06 +0000
commitf7bda8a4c3ddd6511e9f52bce0954775c8fa780e (patch)
treec5670637b389571f5a24fb6d665995a6eef29bd8 /gdb/testsuite/gdb.threads
parent3e310776942b40f403656dd2756ad5e25b99f3e6 (diff)
downloadgdb-f7bda8a4c3ddd6511e9f52bce0954775c8fa780e.tar.gz
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/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index 7569f021146..903a3b14436 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)"
}
}