From: Jan Kratochvil Date: Fri, 4 Jun 2010 14:26:52 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38979823d91590adf50c6dcca265e15322dc28fd;p=binutils-gdb.git gdb/testsuite/ * gdb.base/commands.exp (add printf tbreak command): Remove trailing newline. * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear) (empty verbose non-noisy clear, empty verbose noisy clear) (empty non-verbose noisy clear): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 255b3f115c7..4eac1cc2c5a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-06-04 Jan Kratochvil + + * gdb.base/commands.exp (add printf tbreak command): Remove trailing + newline. + * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear) + (empty verbose non-noisy clear, empty verbose noisy clear) + (empty non-verbose noisy clear): Likewise. + 2010-06-03 Michael Snyder * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output. diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp index 1619125f784..a9ba92ecfc4 100644 --- a/gdb/testsuite/gdb.base/commands.exp +++ b/gdb/testsuite/gdb.base/commands.exp @@ -503,7 +503,7 @@ proc temporary_breakpoint_commands {} { pass "add silent tbreak command" } } - gdb_test_multiple "printf \"factorial tbreak commands executed\\n\"\n" \ + gdb_test_multiple "printf \"factorial tbreak commands executed\\n\"" \ "add printf tbreak command" { -re ">$" { pass "add printf tbreak command" diff --git a/gdb/testsuite/gdb.gdb/complaints.exp b/gdb/testsuite/gdb.gdb/complaints.exp index cc66e309727..7f942dc9cad 100644 --- a/gdb/testsuite/gdb.gdb/complaints.exp +++ b/gdb/testsuite/gdb.gdb/complaints.exp @@ -207,13 +207,13 @@ proc test_empty_complaint { cmd msg } { proc test_empty_complaints { } { - test_empty_complaint "call clear_complaints(&symfile_complaints,0,0)\n" \ + test_empty_complaint "call clear_complaints(&symfile_complaints,0,0)" \ "empty non-verbose non-noisy clear" - test_empty_complaint "call clear_complaints(&symfile_complaints,1,0)\n" \ + test_empty_complaint "call clear_complaints(&symfile_complaints,1,0)" \ "empty verbose non-noisy clear" - test_empty_complaint "call clear_complaints(&symfile_complaints,1,1)\n" \ + test_empty_complaint "call clear_complaints(&symfile_complaints,1,1)" \ "empty verbose noisy clear" - test_empty_complaint "call clear_complaints(&symfile_complaints,0,1)\n" \ + test_empty_complaint "call clear_complaints(&symfile_complaints,0,1)" \ "empty non-verbose noisy clear" return 0