[gdb/testsuite] Add gdb.base/wrap-line.exp
commit4891c459927d9a9c0f516c35e2d9d4ce212dd06e
authorTom de Vries <tdevries@suse.de>
Fri, 5 May 2023 12:34:00 +0000 (5 14:34 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 5 May 2023 12:34:00 +0000 (5 14:34 +0200)
tree014b895e7bac66ce90692db8a2e03aad937038a0
parentc2a0fca06af371adc360c2da6bafc23651e5761e
[gdb/testsuite] Add gdb.base/wrap-line.exp

Add a test-case that tests prompt edit wrapping in CLI, both
for TERM=xterm and TERM=ansi, both with auto-detected and hard-coded width.

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

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