From: Fred Fish Date: Wed, 7 Aug 1996 22:38:24 +0000 (+0000) Subject: * gdb.base/list.exp (test_forward_search): Fix to handle very X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74945486eefd0d0c9e9450c76fd67f7ac5c77ffb;p=binutils-gdb.git * gdb.base/list.exp (test_forward_search): Fix to handle very long source line without overflowing expect's input buffer. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3308479f5bc..34a901c7970 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 7 15:34:22 1996 Fred Fish + + * gdb.base/list.exp (test_forward_search): Fix to handle very + long source line without overflowing expect's input buffer. + Wed Aug 7 12:03:25 1996 Tom Tromey * config/slite-gdb.exp (gdb_start): Use "full_buffer", not diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp index 1aadd4ccbfc..a13a9d04046 100644 --- a/gdb/testsuite/gdb.base/list.exp +++ b/gdb/testsuite/gdb.base/list.exp @@ -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.