aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-10-17 17:05:46 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-10-17 17:05:46 -0400
commite42b25a0407fbbf3529815f69bd56a61b1821295 (patch)
treef7f8231c5a55ef1d24a0e58605358003d04317d6
parent3ccdb4324b0dc9fa46ee7cad9b370f8c7c370c3b (diff)
downloadgdb-e42b25a0407fbbf3529815f69bd56a61b1821295.zip
gdb-e42b25a0407fbbf3529815f69bd56a61b1821295.tar.gz
gdb-e42b25a0407fbbf3529815f69bd56a61b1821295.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.trace/mi-trace-save.exp2
2 files changed, 6 insertions, 1 deletions
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.