From 38979823d91590adf50c6dcca265e15322dc28fd Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 4 Jun 2010 14:26:52 +0000 Subject: 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. --- gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.base/commands.exp | 2 +- gdb/testsuite/gdb.gdb/complaints.exp | 8 ++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 255b3f1..4eac1cc 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 1619125..a9ba92e 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 cc66e30..7f942dc 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 -- cgit v1.1