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

Lancelot SIX lsix@lancelotsix.com
Sun Nov 21 17:56:09 GMT 2021


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(-)

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"
-- 
2.33.1



More information about the Gdb-patches mailing list