diff options
author | Tom de Vries <tdevries@suse.de> | 2022-10-20 09:50:04 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-10-20 09:50:04 +0200 |
commit | 15ede33bfa86fd2dfd2d088e01ac2d20cdba46c9 (patch) | |
tree | 282cdc8eda25e6f29776e31e777fe7857f2c75c8 /gdb/python | |
parent | 9c1c98cc632a7f4721e0b19edcb8f6bcd9347942 (diff) | |
download | gdb-15ede33bfa86fd2dfd2d088e01ac2d20cdba46c9.zip gdb-15ede33bfa86fd2dfd2d088e01ac2d20cdba46c9.tar.gz gdb-15ede33bfa86fd2dfd2d088e01ac2d20cdba46c9.tar.bz2 |
[gdb/testsuite] Fix gdb.debuginfod/fetch_src_and_symbols.exp with check-read1
With test-case gdb.debuginfod/fetch_src_and_symbols.exp and check-read1, I run
into:
...
(gdb) FAIL: gdb.debuginfod/fetch_src_and_symbols.exp: local_url: \
file fetch_src_and_symbols (got interactive prompt)
...
The problem is that this output:
...
Enable debuginfod for this session? (y or [n]) y^M
...
is matched using regexp "Enable debuginfod?.*" with matches only the first two
words of the output, after which an implicit clause in gdb_test_multiple triggers
on the second part containing the interactive prompt.
Fix this by included the interactive prompt in the regexp.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions