diff options
author | Tom de Vries <tdevries@suse.de> | 2020-02-19 21:33:39 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-02-19 21:33:39 +0100 |
commit | 623563f79db9c2d576303565f8ba1415c911c452 (patch) | |
tree | 907ec08801eba9ff56bf6a834dc385a07e508e6d /gdb/rust-lang.c | |
parent | dfdeeca1cc6b785243a243d190872789417dda19 (diff) | |
download | binutils-623563f79db9c2d576303565f8ba1415c911c452.zip binutils-623563f79db9c2d576303565f8ba1415c911c452.tar.gz binutils-623563f79db9c2d576303565f8ba1415c911c452.tar.bz2 |
[gdb/testsuite] Fix corefile-buildid.exp with check-read1
When running gdb.base/corefile-buildid.exp using check-read1, I run into:
...
FAIL: gdb.base/corefile-buildid.exp: shared: info files (timeout)
FAIL: gdb.base/corefile-buildid.exp: symlink shared: info files (timeout)
FAIL: gdb.base/corefile-buildid.exp: shared sepdebug: info files (timeout)
FAIL: gdb.base/corefile-buildid.exp: symlink shared sepdebug: info files \
(timeout)
...
This is caused by attempting to match the output of an "info files" command
using a single gdb_test in check_exec_file.
Fix this by doing line-by-line matching in check_exec_file.
Tested on x86_64-linux, using make targets check and check-read1.
gdb/testsuite/ChangeLog:
2020-02-19 Tom de Vries <tdevries@suse.de>
* gdb.base/corefile-buildid.exp (check_exec_file): Match info files
output line-by-line.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions