From: Tom Tromey Date: Wed, 7 Oct 2020 18:07:55 +0000 (-0600) Subject: Rename some tests in find.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e86efb3310cf3aa9515cca07d0835b7e8af79b38;p=binutils-gdb.git Rename some tests in find.exp This renames some tests in find.exp, to avoid duplicate test names. gdb/testsuite/ChangeLog 2020-10-07 Tom Tromey * gdb.base/find.exp: Rename some tests. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7484d6e3e65..6a02cfbdd1b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-10-07 Tom Tromey + + * gdb.base/find.exp: Rename some tests. + 2020-10-06 Gary Benson * gdb.base/list0.c (unused): Add __attribute__ ((used)). diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp index 6e11b776b8b..68aef6c9935 100644 --- a/gdb/testsuite/gdb.base/find.exp +++ b/gdb/testsuite/gdb.base/find.exp @@ -109,11 +109,11 @@ gdb_test_no_output "set int16_search_buf\[10\] = 0x1234" "" gdb_test "find /h &int16_search_buf\[0\], +sizeof(int16_search_buf), 0x1234" \ "${hex_number}.*${one_pattern_found}" \ - "find 16-bit pattern" + "find 16-bit pattern /h" gdb_test "find &int16_search_buf\[0\], +sizeof(int16_search_buf), (int16_t) 0x1234" \ "${hex_number}.*${one_pattern_found}" \ - "find 16-bit pattern" + "find 16-bit pattern cast" # Test 32-bit pattern. @@ -121,11 +121,11 @@ gdb_test_no_output "set int32_search_buf\[10\] = 0x12345678" "" gdb_test "find &int32_search_buf\[0\], +sizeof(int32_search_buf), (int32_t) 0x12345678" \ "${hex_number}.*${one_pattern_found}" \ - "find 32-bit pattern" + "find 32-bit pattern cast" gdb_test "find /w &int32_search_buf\[0\], +sizeof(int32_search_buf), 0x12345678" \ "${hex_number}.*${one_pattern_found}" \ - "find 32-bit pattern" + "find 32-bit pattern /w" # Test 64-bit pattern. @@ -133,11 +133,11 @@ gdb_test_no_output "set int64_search_buf\[10\] = 0xfedcba9876543210LL" "" gdb_test "find &int64_search_buf\[0\], +sizeof(int64_search_buf), (int64_t) 0xfedcba9876543210LL" \ "${hex_number}.*${one_pattern_found}" \ - "find 64-bit pattern" + "find 64-bit pattern cast" gdb_test "find /g &int64_search_buf\[0\], +sizeof(int64_search_buf), 0xfedcba9876543210LL" \ "${hex_number}.*${one_pattern_found}" \ - "find 64-bit pattern" + "find 64-bit pattern /g" # Test mixed-sized patterns.