diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-11-15 11:07:02 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-11-15 11:07:02 -0500 |
commit | 71774bc994e3f2a09c3b1988dbf2e99b86f53e2e (patch) | |
tree | c7cfa2cb36b9480570950f3f3b3a96853830516e /gdb/amd64-nbsd-tdep.c | |
parent | 01f48020363f1ca9b31df2ee0b2afedc38db1259 (diff) | |
download | gdb-71774bc994e3f2a09c3b1988dbf2e99b86f53e2e.zip gdb-71774bc994e3f2a09c3b1988dbf2e99b86f53e2e.tar.gz gdb-71774bc994e3f2a09c3b1988dbf2e99b86f53e2e.tar.bz2 |
Fix gdb.tui/completion.exp test
When I run it locally, the test gdb.tui/completion.exp test fails
because of a timeout:
Running /home/emaisin/src/binutils-gdb/gdb/testsuite/gdb.tui/completion.exp ...
FAIL: gdb.tui/completion.exp: completion of layout names: tab completion (timeout)
The problem seems to be this regex, which confirms that after doing
layout<TAB>, "layout" is printed again after the gdb prompt:
-re "^$input_line$"
The problem is that there's a trailing space in the output after
"layout". Since the regex has an anchored end (the $), it doesn't
match. Adding a space fixes the test.
gdb/testsuite/ChangeLog:
* gdb.tui/completionn.exp (test_tab_completion): Add space in
regex.
Diffstat (limited to 'gdb/amd64-nbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions