* gdb.base/list.exp (test_forward_search): Fix to handle very

long source line without overflowing expect's input buffer.
This commit is contained in:
Fred Fish
1996-08-07 22:38:24 +00:00
parent 9c3f0306ac
commit 74945486ee
2 changed files with 7 additions and 1 deletions

View File

@@ -899,7 +899,8 @@ proc test_forward_search {} {
set timeout 30
verbose "Timeout is now $timeout seconds" 2
gdb_test "search 1234" ""
match_max 6000
gdb_test "search 1234" ".*1234.*" "search extremely long line (> 5000 chars)"
}
# Start with a fresh gdb.