summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/killed.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-09-10 14:17:34 +0000
committerDaniel Jacobowitz <drow@false.org>2005-09-10 14:17:34 +0000
commita6cd0eb35dcc43b0c491397ae1b7ec16b143b79e (patch)
tree6d2285b1dc532c7e4ea8e1cba07e076c6a7eca1c /gdb/testsuite/gdb.threads/killed.exp
parent014fdd9977ac49af350027f5d321e0a53ad60da7 (diff)
downloadbinutils-gdb-a6cd0eb35dcc43b0c491397ae1b7ec16b143b79e.tar.gz
* killed.exp: Correct gdb_expect syntax.
Diffstat (limited to 'gdb/testsuite/gdb.threads/killed.exp')
-rw-r--r--gdb/testsuite/gdb.threads/killed.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/killed.exp b/gdb/testsuite/gdb.threads/killed.exp
index 1948375155e..f4c0c374108 100644
--- a/gdb/testsuite/gdb.threads/killed.exp
+++ b/gdb/testsuite/gdb.threads/killed.exp
@@ -1,4 +1,4 @@
-# Copyright 2002, 2003 Free Software Foundation, Inc.
+# Copyright 2002, 2003, 2005 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -80,7 +80,7 @@ gdb_expect {
-re "$gdb_prompt $" {
pass "run program to completion"
}
- timeout "$gdb_prompt $" {
+ timeout {
fail "run program to completion (timeout)"
}
}