aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2021-11-21 00:29:01 +0000
committerLancelot SIX <lsix@lancelotsix.com>2022-01-07 22:43:33 +0000
commit22dafa45d306e4086615d1269e0a3c504e284da5 (patch)
tree5e29ce9a27d3592bbb0dfa49be658175298866b1
parentfdc3b97899bfc9bbd4a562816b7ee38ff712f61d (diff)
downloadbinutils-22dafa45d306e4086615d1269e0a3c504e284da5.zip
binutils-22dafa45d306e4086615d1269e0a3c504e284da5.tar.gz
binutils-22dafa45d306e4086615d1269e0a3c504e284da5.tar.bz2
gdb/testsuite: Remove duplicates from gdb.base/pretty-array.exp
When I run the testsuite, I have: Running .../gdb/testsuite/gdb.base/pretty-array.exp ... DUPLICATE: gdb.base/pretty-array.exp: print nums DUPLICATE: gdb.base/pretty-array.exp: print nums Fix by giving a name to the test cases. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.base/pretty-array.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/pretty-array.exp b/gdb/testsuite/gdb.base/pretty-array.exp
index 3ababed..8f7bb4d 100644
--- a/gdb/testsuite/gdb.base/pretty-array.exp
+++ b/gdb/testsuite/gdb.base/pretty-array.exp
@@ -44,7 +44,8 @@ gdb_test "print nums" \
" 22," \
" 23" \
" }" \
- "}" ]
+ "}" ] \
+ "print nums with print array on"
gdb_test_no_output "set print array-indexes on"
@@ -61,4 +62,5 @@ gdb_test "print nums" \
" \\\[1\\\] = 22," \
" \\\[2\\\] = 23" \
" }" \
- "}" ]
+ "}" ] \
+ "print nums with print array on, print array-indexes on"