[gdb/testsuite] Add gdb.tui/wrap-line.exp
authorTom de Vries <tdevries@suse.de>
Fri, 5 May 2023 10:20:20 +0000 (12:20 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 5 May 2023 10:20:20 +0000 (12:20 +0200)
commitc2a0fca06af371adc360c2da6bafc23651e5761e
tree541b4c3c47264e9d2ea4cc66f1b9eac8a4a55b4c
parente4fbcd83c2423221ddde99d50b432df7dda06f5f
[gdb/testsuite] Add gdb.tui/wrap-line.exp

Add a test-case that tests prompt edit wrapping behaviour in the tuiterm, both
for CLI and TUI, both with auto-detected and hard-coded width.

In the CLI case with auto-detected width we run into PR cli/30411, so add a
KFAIL for that failure mode.

Tested on x86_64-linux.
gdb/testsuite/gdb.tui/wrap-line.exp [new file with mode: 0644]
gdb/testsuite/lib/tuiterm.exp