aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-07 22:38:24 +0000
committerFred Fish <fnf@specifix.com>1996-08-07 22:38:24 +0000
commit74945486eefd0d0c9e9450c76fd67f7ac5c77ffb (patch)
tree4c536dce28ab6f2d97e9fddecb52fe3ca0f81411 /gdb/testsuite/gdb.base
parent9c3f0306acbfaa3bc8e11f3a81845a44493898f3 (diff)
downloadgdb-74945486eefd0d0c9e9450c76fd67f7ac5c77ffb.zip
gdb-74945486eefd0d0c9e9450c76fd67f7ac5c77ffb.tar.gz
gdb-74945486eefd0d0c9e9450c76fd67f7ac5c77ffb.tar.bz2
* gdb.base/list.exp (test_forward_search): Fix to handle very
long source line without overflowing expect's input buffer.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/list.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp
index 1aadd4c..a13a9d0 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.