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] Fix duplicate test message in mi-trace-save.exp


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

commit e42b25a0407fbbf3529815f69bd56a61b1821295
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Mon Oct 17 17:05:46 2016 -0400

    Fix duplicate test message in mi-trace-save.exp
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
    	Change test message.

Diff:
---
 gdb/testsuite/ChangeLog                   | 5 +++++
 gdb/testsuite/gdb.trace/mi-trace-save.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9d35283..4ecf0b7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,6 +1,11 @@
 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
+	Change test message.
+
+2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
 	Update comment.
 
 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
diff --git a/gdb/testsuite/gdb.trace/mi-trace-save.exp b/gdb/testsuite/gdb.trace/mi-trace-save.exp
index edb3a59..156ec54 100644
--- a/gdb/testsuite/gdb.trace/mi-trace-save.exp
+++ b/gdb/testsuite/gdb.trace/mi-trace-save.exp
@@ -27,7 +27,7 @@ proc test_trace_save_wrong_num_args { } {
     set err_re [string_to_regexp "^error,msg=\"Exactly one argument required (file in which to save trace data)\""]
 
     mi_gdb_test "-trace-save" "$err_re" "-trace-save with missing argument"
-    mi_gdb_test "-trace-save a b" "$err_re" "-trace-save with missing argument"
+    mi_gdb_test "-trace-save a b" "$err_re" "-trace-save with too many arguments"
 }
 
 # Test with an unrecognized option.


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