[PUSHED] gdb/testsuite: fix directory name in test name

Message ID d5a015458e582a2272ae075d678751bd9cbf3573.1701716297.git.aburgess@redhat.com
State New
Headers
Series [PUSHED] gdb/testsuite: fix directory name in test name |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Andrew Burgess Dec. 4, 2023, 7 p.m. UTC
  In the commit:

  commit 4793f551a5aa68522fd5fbbb7e8f621148f410cd
  Date:   Mon Nov 27 13:33:17 2023 +0000

      gdb: allow use of ~ in 'save gdb-index' command

I added a test which has a directory name within the GDB command,
which then appears in the test name as I failed to give the test a
better name.

Fixed in this commit.
---
 gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


base-commit: d1a912db7fdf50c28224d20464bfa163d8438980
  

Patch

diff --git a/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp b/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp
index d30d0e86cf2..27efd3316e9 100644
--- a/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp
+++ b/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp
@@ -82,7 +82,8 @@  if { !$can_dump_index } {
 }
 
 # Generate an index file.
-gdb_test_no_output "save gdb-index $dir"
+gdb_test_no_output "save gdb-index $dir" \
+    "save gdb-index to tilde based directory"
 gdb_exit
 
 # Confirm that the index file exists.