Update copyright year range in all GDB files
[external/binutils.git] / gdb / testsuite / gdb.trace / mi-trace-save.exp
index 96bb70d..ea84a1f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2016 Free Software Foundation, Inc.
+# Copyright 2016-2018 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -21,13 +21,13 @@ load_lib mi-support.exp
 
 mi_gdb_start
 
-# Test without the required "filename" argument.
+# Test with the wrong number of arguments.
 
 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.