From b9132588e0c9409b9bf48fd76c72e6efeaa90d5a Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 23 Jun 2011 09:40:50 +0000 Subject: Fix races in mi2-console.exp. --- gdb/testsuite/gdb.mi/mi2-console.exp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gdb/testsuite/gdb.mi') diff --git a/gdb/testsuite/gdb.mi/mi2-console.exp b/gdb/testsuite/gdb.mi/mi2-console.exp index 0d05256..29a4422 100644 --- a/gdb/testsuite/gdb.mi/mi2-console.exp +++ b/gdb/testsuite/gdb.mi/mi2-console.exp @@ -48,11 +48,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb mi_run_to_main # Next over the hello() call which will produce lots of output -gdb_test_multiple "220-exec-next" "Started step over hello" { - -re "220\\^running\r\n(\\*running,thread-id=\"all\"\r\n)?$mi_gdb_prompt" { - pass "Started step over hello" - } -} +mi_gdb_test "220-exec-next" "220\\^running(\r\n)?(\\*running,thread-id=\"all\")?" \ + "Started step over hello" if { ![target_info exists gdb,noinferiorio] } { gdb_expect { -- cgit v1.1