Rename some tests in find.exp
authorTom Tromey <tromey@adacore.com>
Wed, 7 Oct 2020 18:07:55 +0000 (12:07 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 7 Oct 2020 18:07:55 +0000 (12:07 -0600)
This renames some tests in find.exp, to avoid duplicate test names.

gdb/testsuite/ChangeLog
2020-10-07  Tom Tromey  <tromey@adacore.com>

* gdb.base/find.exp: Rename some tests.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/find.exp

index 7484d6e3e657fce72cdd070789c8e4b2288427ab..6a02cfbdd1bce16b8e19e3c10b64f3692c01bcca 100644 (file)
@@ -1,3 +1,7 @@
+2020-10-07  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/find.exp: Rename some tests.
+
 2020-10-06  Gary Benson <gbenson@redhat.com>
 
        * gdb.base/list0.c (unused): Add __attribute__ ((used)).
index 6e11b776b8bda2e4785b766acc2125698e9aa2d6..68aef6c99350a7c1a546f922d1523e511a86e550 100644 (file)
@@ -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}.*<int16_search_buf\\+20>${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}.*<int16_search_buf\\+20>${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}.*<int32_search_buf\\+40>${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}.*<int32_search_buf\\+40>${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}.*<int64_search_buf\\+80>${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}.*<int64_search_buf\\+80>${one_pattern_found}" \
-    "find 64-bit pattern"
+    "find 64-bit pattern /g"
 
 # Test mixed-sized patterns.