From cac3c2ff1143b3803aafc26cc815ddd98f85faee Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 16 Mar 2001 20:00:04 +0000 Subject: [PATCH] 2001-03-12 Michael Chastain * gdb.c++/annota2.exp: Fix regular expression for "post-query". --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.c++/annota2.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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)" } } -- 2.30.2