From: Nick Roberts Date: Thu, 14 Sep 2006 02:24:22 +0000 (+0000) Subject: Update test to reflect change in cli_interpreter_exec. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=118ce68156c080ac9e7eb9daa86c3dc9e90eecb5;p=thirdparty%2Fbinutils-gdb.git Update test to reflect change in cli_interpreter_exec. --- diff --git a/gdb/testsuite/gdb.mi/mi-cli.exp b/gdb/testsuite/gdb.mi/mi-cli.exp index a20fc04bd73..8210bddaf4f 100644 --- a/gdb/testsuite/gdb.mi/mi-cli.exp +++ b/gdb/testsuite/gdb.mi/mi-cli.exp @@ -52,7 +52,7 @@ mi_gdb_test "-interpreter-exec bogus command" \ set msg {Undefined command: \\\"bogus\\\"\. Try \\\"help\\\"\.} mi_gdb_test "-interpreter-exec console bogus" \ - "&\\\"$msg\\\\n\\\".*\\^error,msg=\\\"$msg\\\".*" \ + "&\\\"$msg\\\\n\\\".*\\^done" \ "-interpreter-exec console bogus" # NOTE: cagney/2003-02-03: Not yet. diff --git a/gdb/testsuite/gdb.mi/mi2-cli.exp b/gdb/testsuite/gdb.mi/mi2-cli.exp index c3e26919264..284ca7fd91c 100644 --- a/gdb/testsuite/gdb.mi/mi2-cli.exp +++ b/gdb/testsuite/gdb.mi/mi2-cli.exp @@ -52,7 +52,7 @@ mi_gdb_test "-interpreter-exec bogus command" \ set msg {Undefined command: \\\"bogus\\\"\. Try \\\"help\\\"\.} mi_gdb_test "-interpreter-exec console bogus" \ - "&\\\"$msg\\\\n\\\".*\\^error,msg=\\\"$msg\\\".*" \ + "&\\\"$msg\\\\n\\\".*\\^done" \ "-interpreter-exec console bogus" # NOTE: cagney/2003-02-03: Not yet.