]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: fix directory name in test name
authorAndrew Burgess <aburgess@redhat.com>
Mon, 4 Dec 2023 18:55:24 +0000 (18:55 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 4 Dec 2023 18:58:47 +0000 (18:58 +0000)
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

index d30d0e86cf241cdd4adcf5defd8ac91db3f94eb8..27efd3316e90c8a0dcf7c534e3bd0c4919cb2ab8 100644 (file)
@@ -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.