From 8ef6493a1d95fb17f086831f6ab4ed13b0c79500 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 11 May 2006 13:09:58 +0000 Subject: [PATCH] Reviewed and approved by Daniel Jacobowitz 2006-05-11 Fred Fish * gdb.base/bang.exp: Ignore unexpected output between the "program exited normally" and the gdb prompt, as many other tests do. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/bang.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4732dc2afbd..6b74c4dce6a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-05-11 Fred Fish + + * gdb.base/bang.exp: Ignore unexpected output between the + "program exited normally" and the gdb prompt, as many other + tests do. + 2006-05-07 Mark Kettenis * gdb.base/help.exp: Make "delete checkpoint" part option for diff --git a/gdb/testsuite/gdb.base/bang.exp b/gdb/testsuite/gdb.base/bang.exp index d0cb7b504a2..c9672755167 100644 --- a/gdb/testsuite/gdb.base/bang.exp +++ b/gdb/testsuite/gdb.base/bang.exp @@ -38,7 +38,7 @@ gdb_load ${binfile} gdb_run_cmd gdb_expect { - -re ".*Program exited normally\.\r\n$gdb_prompt $" { + -re ".*Program exited normally.*$gdb_prompt $" { pass "run program" } timeout { -- 2.30.2