[02/29] gdb/testsuite: Remove duplicates from gdb.base/miscexprs.exp

Message ID 20211121175636.779325-3-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 running the testsuite I see:

    Running .../gdb/testsuite/gdb.base/miscexprs.exp ...
    DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
    DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]

Fix the name of some misnamed tests.

Tested on x86_64.
---
 gdb/testsuite/gdb.base/miscexprs.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.33.1

Patch

diff --git a/gdb/testsuite/gdb.base/miscexprs.exp b/gdb/testsuite/gdb.base/miscexprs.exp
index 86f41215283..c1fc7420545 100644
--- a/gdb/testsuite/gdb.base/miscexprs.exp
+++ b/gdb/testsuite/gdb.base/miscexprs.exp
@@ -118,10 +118,10 @@  gdb_test "print !sbig.s\[90\]" " = $false" \
     "print value of !sbig.s\[90\]"
 
 gdb_test "print !fbig.f\[100\]" " = $false" \
-    "print value of !ibig.i\[100\]"
+    "print value of !fbig.f\[100\]"
 
 gdb_test "print !dbig.d\[202\]" " = $false" \
-    "print value of !ibig.i\[100\]"
+    "print value of !dbig.d\[202\]"
 
 gdb_test "print sbig.s\[90\] * 10" " = 2550" \
     "print value of !sbig.s\[90\] * 10"