gdb/testsuite: Remove duplicates from gdb.base/checkpoint.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/checkpoint.exp ...
    DUPLICATE: gdb.base/checkpoint.exp: verify lines 5 two
    DUPLICATE: gdb.base/checkpoint.exp: restart 0 one

This patch fixes the various erroneous incorrect test names.

While at it, this patch also remove some trailing white spaces across
the file.

Tested on x86_64-linux.
This commit is contained in:
Lancelot SIX
2021-11-19 23:16:51 +00:00
parent f4581a8826
commit 2bb68cff48

View File

@ -198,7 +198,7 @@ gdb_test "restart 6" "Switching to .*c == EOF.*" "restart 6 two"
gdb_test "continue" ".*" "" gdb_test "continue" ".*" ""
gdb_test "continue 1000" "breakpoint 1.*" "breakpoint 1 6 one" gdb_test "continue 1000" "breakpoint 1.*" "breakpoint 1 6 one"
gdb_test "step" "if .c == EOF.*" "step in 6 two" gdb_test "step" "if .c == EOF.*" "step in 6 two"
gdb_test "print lines" " = 1052.*" "verify lines 5 two" gdb_test "print lines" " = 1052.*" "verify lines 6 two"
gdb_test "restart 7" "Switching to .*c == EOF.*" "restart 7 two" gdb_test "restart 7" "Switching to .*c == EOF.*" "restart 7 two"
gdb_test "continue" ".*" "" gdb_test "continue" ".*" ""
@ -215,7 +215,7 @@ gdb_test "shell diff -s $pi_txt $copy1_txt" \
# and verify that the checkpoints can still write to it. # and verify that the checkpoints can still write to it.
# #
gdb_test "restart 0" "Switching to .*breakpoint 3.*" "restart 0 one" gdb_test "restart 0" "Switching to .*breakpoint 3.*" "restart 0 two"
gdb_breakpoint $break4_loc gdb_breakpoint $break4_loc
gdb_test "continue" "breakpoint 4.*" "break4 one" gdb_test "continue" "breakpoint 4.*" "break4 one"