From 86700f009f2effc71da8d0ab35bdf487362f5612 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 25 Jan 2013 17:59:29 +0000 Subject: [PATCH] * gdb.python/py-explore.exp: Expect the gdb prompt. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.python/py-explore.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 433dd9bc6c5..2a04ca84aca 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-25 Tom Tromey + + * gdb.python/py-explore.exp: Expect the gdb prompt. + 2013-01-25 Andrew Burgess * gdb.base/gnu_vector.c: New variable for use in tests. diff --git a/gdb/testsuite/gdb.python/py-explore.exp b/gdb/testsuite/gdb.python/py-explore.exp index 34333b5748a..1f4879f1ed8 100644 --- a/gdb/testsuite/gdb.python/py-explore.exp +++ b/gdb/testsuite/gdb.python/py-explore.exp @@ -96,7 +96,7 @@ gdb_test_multiple "explore ss_ptr" "" { -re "[pointer_description {ss_ptr} $SS].*" { pass "explore ss_ptr" gdb_test_multiple "y" "explore_as_single_value_pointer" { - -re "$SS_fields" { + -re "$SS_fields.*$gdb_prompt" { pass "explore ss_ptr as single value pointer" } } -- 2.30.2