aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/signals.exp
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-06-28 05:28:59 +0000
committerFred Fish <fnf@specifix.com>1996-06-28 05:28:59 +0000
commit5fc34cfdfb442044106fa95f5f3ffe421a111340 (patch)
treef53d7e3b91a3071ffc150ae701626d7fe98e6f35 /gdb/testsuite/gdb.base/signals.exp
parentc137ee9799c4127a0885306ac96a509753e665f8 (diff)
downloadgdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.zip
gdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.tar.gz
gdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.tar.bz2
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
timeout by 60 seconds.
Diffstat (limited to 'gdb/testsuite/gdb.base/signals.exp')
-rw-r--r--gdb/testsuite/gdb.base/signals.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp
index d48fac9..28977c7 100644
--- a/gdb/testsuite/gdb.base/signals.exp
+++ b/gdb/testsuite/gdb.base/signals.exp
@@ -301,13 +301,16 @@ gdb_start
# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
# TARGET_SIGNAL_UNKNOWN are skipped.
proc test_handle_all_print {} {
-
+ global timeout
# Increase timeout and expect input buffer for large output from gdb.
# Allow blank or TAB as whitespace characters.
- set timeout 30
+ set oldtimeout $timeout
+ set timeout [expr "$timeout + 60"]
verbose "Timeout is now $timeout seconds" 2
match_max 8000
gdb_test "handle all print" "Signal\[ \]+Stop\[ \]+Print\[ \]+Pass to program\[ \]+Description\r\nSIGHUP\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Hangup.*SIG63\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Real-time event 63"
+ set timeout $oldtimeout
+ verbose "Timeout restored to $timeout seconds" 2
}
test_handle_all_print