-# Copyright 2008-2016 Free Software Foundation, Inc.
+# Copyright 2008-2019 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
standard_testfile consecutive-reverse.c
set precsave [standard_output_file consecutive.precsave]
-if { [prepare_for_testing $testfile.exp $testfile $srcfile] } {
+if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
return -1
}
set end_location [gdb_get_line_number "end of main" ]
gdb_test "break $end_location" \
"Breakpoint $decimal at .*$srcfile, line $end_location\." \
- "BP at end of main"
+ "breakpoint at end of main"
gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main"