diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp index 6da9a86faa8..bd90bcd0cfe 100644 --- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp +++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp @@ -310,7 +310,7 @@ proc local_url { } { # Disable confirmation to avoid having to deal with a query. See # test_urls. gdb_test_multiple "with confirm off -- file $binfile" "notice empty URL" { - -re ".*Enable debuginfod.*" { + -re -wrap "This GDB supports auto-downloading.*" { fail $gdb_test_name } -re -wrap "" {