aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-12-04 18:55:24 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-12-04 18:58:47 +0000
commit2c4caca9873ef4e97a51a538dfbecde8fe334082 (patch)
treef6fb9d1dfb34d8bcc9f6a0d72a41983103f1daf4
parent850f4ee54658152b3f4ce60e2ef1855950c8bcbc (diff)
downloadfsf-binutils-gdb-2c4caca9873ef4e97a51a538dfbecde8fe334082.zip
fsf-binutils-gdb-2c4caca9873ef4e97a51a538dfbecde8fe334082.tar.gz
fsf-binutils-gdb-2c4caca9873ef4e97a51a538dfbecde8fe334082.tar.bz2
gdb/testsuite: fix directory name in test name
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.
-rw-r--r--gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp b/gdb/testsuite/gdb.dwarf2/gdb-index-tilde.exp
index d30d0e8..27efd33 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.