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.