* gdb.base/bigcore.exp: Reset increased timeout.
authorDaniel Jacobowitz <drow@false.org>
Mon, 1 Feb 2010 17:51:18 +0000 (17:51 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 1 Feb 2010 17:51:18 +0000 (17:51 +0000)
* gdb.base/interrupt.exp: Match unexpected gdb prompt.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/bigcore.exp
gdb/testsuite/gdb.base/interrupt.exp

index b0e7ea937d17eb921de8757131788b70fb3af9aa..53a956a5639ebcb5c2a0da7033de4cf39be41c43 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/bigcore.exp: Reset increased timeout.
+       * gdb.base/interrupt.exp: Match unexpected gdb prompt.
+
 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.base/gcore.exp (capture_command_output): Use
index bc1ff946e0104075a20267a4459d964097794cd7..9bdd7c046570d470860be8d6a7c4861dd526710c 100644 (file)
@@ -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 ""
index a0df58fb77b0d0b3be247dd87ccf1bdc0d4dc445..c907896c41d07de387bcb8a9e5310e545fe70bfa 100644 (file)
@@ -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)" }
        }