From: Daniel Jacobowitz Date: Mon, 1 Feb 2010 17:51:18 +0000 (+0000) Subject: * gdb.base/bigcore.exp: Reset increased timeout. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c593ac0e2369c486dc92648bdb0ed266e9d7271b;p=binutils-gdb.git * gdb.base/bigcore.exp: Reset increased timeout. * gdb.base/interrupt.exp: Match unexpected gdb prompt. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0e7ea937d1..53a956a5639 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-02-01 Daniel Jacobowitz + + * gdb.base/bigcore.exp: Reset increased timeout. + * gdb.base/interrupt.exp: Match unexpected gdb prompt. + 2010-02-01 Daniel Jacobowitz * gdb.base/gcore.exp (capture_command_output): Use diff --git a/gdb/testsuite/gdb.base/bigcore.exp b/gdb/testsuite/gdb.base/bigcore.exp index bc1ff946e01..9bdd7c04657 100644 --- a/gdb/testsuite/gdb.base/bigcore.exp +++ b/gdb/testsuite/gdb.base/bigcore.exp @@ -147,6 +147,7 @@ gdb_test_multiple "info program" $test { set oldtimeout $timeout set timeout 600 gdb_test "signal SIGABRT" "Program terminated with signal SIGABRT, .*" +set timeout $oldtimeout # Find the corefile set file "" diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp index a0df58fb77b..c907896c41d 100644 --- a/gdb/testsuite/gdb.base/interrupt.exp +++ b/gdb/testsuite/gdb.base/interrupt.exp @@ -167,6 +167,7 @@ if ![file exists $binfile] then { # here. gdb_expect { -re "^(\r\n|)data\r\n(|data\r\n)$" { pass "echo data" } + -re "Undefined command.*$gdb_prompt " { fail "echo data" } timeout { fail "echo data (timeout)" } eof { fail "echo data (eof)" } }