This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OBV] Add quotation mark in test message
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 24 Mar 2016 09:54:50 +0000
- Subject: [PATCH OBV] Add quotation mark in test message
- Authentication-results: sourceware.org; auth=none
I happen to see a quotation mark is missing the following test,
gdb_test "break $end_location" \
"Breakpoint $decimal at .* line $end_location\." \
set breakpoint at end of main"
so the test result is
PASS: gdb.reverse/break-reverse.exp: set
This patch is to add the missing quotation mark back, and the test
result becomes
PASS: gdb.reverse/break-reverse.exp: set breakpoint at end of main
Patch is pushed in.
gdb/testsuite:
2016-03-24 Yao Qi <yao.qi@linaro.org>
* gdb.reverse/break-reverse.exp: Add quotation mark in the
test message.
---
gdb/ChangeLog | 5 +++++
gdb/testsuite/gdb.reverse/break-reverse.exp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a32d410..32a3f77 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-24 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.reverse/break-reverse.exp: Add quotation mark in the
+ test message.
+
2016-03-23 Yao Qi <yao.qi@linaro.org>
* gdbarch.sh (software_single_step): Remove comments.
diff --git a/gdb/testsuite/gdb.reverse/break-reverse.exp b/gdb/testsuite/gdb.reverse/break-reverse.exp
index 2a6d95f..90a20db 100644
--- a/gdb/testsuite/gdb.reverse/break-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/break-reverse.exp
@@ -48,7 +48,7 @@ gdb_test "break bar" \
gdb_test "break $end_location" \
"Breakpoint $decimal at .* line $end_location\." \
- set breakpoint at end of main"
+ "set breakpoint at end of main"
gdb_continue_to_breakpoint "foo" ".*$srcfile:$foo_location.*"
gdb_continue_to_breakpoint "bar" ".*$srcfile:$bar_location.*"
--
1.9.1