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.
This commit is contained in:
Simon Marchi 2016-10-17 17:05:46 -04:00
parent 3ccdb4324b
commit e42b25a040
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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):

View File

@ -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.