This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add quotation mark in test message


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dfa3faca36ccd86cf300f59b4f482c02e3e0518b

commit dfa3faca36ccd86cf300f59b4f482c02e3e0518b
Author: Yao Qi <yao.qi@linaro.org>
Date:   Thu Mar 24 09:53:50 2016 +0000

    Add quotation mark in test message
    
    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
    
    gdb/testsuite:
    
    2016-03-24  Yao Qi  <yao.qi@linaro.org>
    
    	* gdb.reverse/break-reverse.exp: Add quotation mark in the
    	test message.

Diff:
---
 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.*"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]