[14/29] gdb/testsuite: Remove duplicates from gdb.base/subst.exp

Message ID 20211121175636.779325-15-lsix@lancelotsix.com
State New
Headers show
Series
  • Remove DUPLICATEs from testsuite/gdb.base/*.exp
Related show

Commit Message

Mike Frysinger via Gdb-patches Nov. 21, 2021, 5:56 p.m.
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.33.1

Patch

diff --git a/gdb/testsuite/gdb.base/subst.exp b/gdb/testsuite/gdb.base/subst.exp
index 040c7f40f46..9182068c1b3 100644
--- a/gdb/testsuite/gdb.base/subst.exp
+++ b/gdb/testsuite/gdb.base/subst.exp
@@ -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" \