aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-13 13:21:09 +0200
committerTom de Vries <tdevries@suse.de>2023-06-13 13:21:09 +0200
commit63224e96d0cd9e726bcd1d6d512255d92b7c5317 (patch)
tree2e7e56c5fca0c8ab8e84435344f45dc5db92b23d /gdb/testsuite/gdb.python
parent3e543c18b174a6d68277d27f27a98eb9515d20c5 (diff)
downloadbinutils-63224e96d0cd9e726bcd1d6d512255d92b7c5317.zip
binutils-63224e96d0cd9e726bcd1d6d512255d92b7c5317.tar.gz
binutils-63224e96d0cd9e726bcd1d6d512255d92b7c5317.tar.bz2
[gdb/testsuite] Fix gdb.tui/long-prompt.exp with read1
When running test-case gdb.tui/long-prompt.exp with check-read1, we get: ... (gdb) FAIL: gdb.tui/long-prompt.exp: prompt size == width + 1: \ end of screen: at last line ... The problem is in these commands: ... Term::command "echo \\n" Term::command "echo \\n" Term::command "echo \\n" Term::command "echo \\n" ... The last one makes the terminal scroll, and the scrolling makes the expected output match on a different line. Fix this by replacing the sequence with a single command: ... Term::command "echo \\n\\n\\n\\n\\n\\n" ... which avoids scrolling. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions