]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix timeout in gdb.tui/wrap-line.exp
authorTom de Vries <tdevries@suse.de>
Fri, 26 Sep 2025 23:20:56 +0000 (01:20 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 26 Sep 2025 23:20:56 +0000 (01:20 +0200)
commitfccaf2d2978affaa04e9fe6ecf5d1e995a686767
tree39d9f5ac47b4bc6625a9c5732c9196e3ad06383c
parent1e09d524275075187d3d8a503c58fb7e169f1442
[gdb/testsuite] Fix timeout in gdb.tui/wrap-line.exp

When running test-case gdb.tui/wrap-line.exp on msys2-ucrt64, I run into a
timeout here:
...
set test "startup prompt"
gdb_test_multiple "" $test {
    -re "^$gdb_prompt $" {
pass "$test"
    }
}
...
due to running into "^[[6n(gdb) ".

Fix this by allowing this, similar to how this was fixed in default_gdb_start by
commit 7e1964f9c61 ("[gdb/testsuite] Set TERM to dumb by default").

Tested on x86_64-linux and msys2-ucrt64.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.tui/wrap-line.exp