diff options
author | Tom de Vries <tdevries@suse.de> | 2025-09-27 01:13:16 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-09-27 01:13:16 +0200 |
commit | 8e2233c36a0f8ae98e7607de9822c1bc4284fa1e (patch) | |
tree | 4e9e0db0d6b2a02142aef6efe65ab116e8dbca7c /libctf/testsuite/libctf-lookup/multidim-array-ctf.c | |
parent | efdb47cc20cd335706e7547c8bc41b65a99ff341 (diff) | |
download | binutils-8e2233c36a0f8ae98e7607de9822c1bc4284fa1e.zip binutils-8e2233c36a0f8ae98e7607de9822c1bc4284fa1e.tar.gz binutils-8e2233c36a0f8ae98e7607de9822c1bc4284fa1e.tar.bz2 |
[gdb/testsuite] Remove wait in gdb.tui/pr30056.exp
In test-case gdb.tui/pr30056.exp, we have:
...
# Send arrow-right.
send_gdb "\033\[C"
# We need the arrow-right to be processed by readline, before we
# send the following ^C. Waiting 1 ms seems to do that.
after 1
...
Waiting for an effect by sleeping is fragile.
The reason we're doing so is that we're waiting for an effect that is not
visible: the arrow-right is meant to horizontally scroll the source window,
but since there's no source, nothing happens.
Fix this by using an executable in the test-case, with a source file
containing a comment long enough to make horizontal scrolling possible.
Fixing this means we no longer run into PR33371, so that PR will need its own
test-case.
Tested on x86_64-linux.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'libctf/testsuite/libctf-lookup/multidim-array-ctf.c')
0 files changed, 0 insertions, 0 deletions