gdb/testsuite: Remove duplicates from gdb.base/subst.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sat, 20 Nov 2021 23:07:55 +0000 (23:07 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
When I run the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/subst.ex ...
    DUPLICATE: gdb.base/subst.exp: unset substitute-path from, no rule entered yet

Fix by adjusting the problematic test name.

Tested on x86_64-linux.

gdb/testsuite/gdb.base/subst.exp

index a827ad34556abc966d76cf91f7655ca3efd72db6..e2ad21cf9e0cdec6cedd4541dda2ad52186e7fe7 100644 (file)
@@ -50,7 +50,7 @@ gdb_test_no_output "unset substitute-path" \
 
 gdb_test "unset substitute-path from" \
          "No substitution rule defined for `from'" \
-         "unset substitute-path from, no rule entered yet"
+         "unset substitute-path from, after unset substitute-path"
 
 gdb_test "unset substitute-path from to" \
          "Incorrect usage, too many arguments in command" \