From: Michael Chastain Date: Fri, 16 Mar 2001 20:00:04 +0000 (+0000) Subject: 2001-03-12 Michael Chastain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cac3c2ff1143b3803aafc26cc815ddd98f85faee;p=binutils-gdb.git 2001-03-12 Michael Chastain * gdb.c++/annota2.exp: Fix regular expression for "post-query". --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b1f3dfb387f..f4086d875f3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-03-12 Michael Chastain + + * gdb.c++/annota2.exp: Fix regular expression for "post-query". + 2001-02-24 Michael Chastain * gdb.c++/ref-types.exp: Change handwritten code to library diff --git a/gdb/testsuite/gdb.c++/annota2.exp b/gdb/testsuite/gdb.c++/annota2.exp index ce13ead10f7..86fdc9d56bc 100644 --- a/gdb/testsuite/gdb.c++/annota2.exp +++ b/gdb/testsuite/gdb.c++/annota2.exp @@ -1,4 +1,4 @@ -# Copyright 1999, 2000 +# Copyright 1999, 2000, 2001 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -139,7 +139,7 @@ gdb_expect { -re ".*Delete all breakpoints. \\(y or n\\) \r\n\032\032query.*$" { send_gdb "y\n" gdb_expect { - -re " .*$gdb_prompt$" { pass "delete bps" } + -re "\r\n\032\032post-query\r\n$gdb_prompt$" { pass "delete bps" } -re ".*$gdb_prompt$" { fail "delete bps" } timeout { fail "delete bps (timeout)" } }