libdb/test/tcl/test041.tcl
2012-11-14 15:13:24 -05:00

17 lines
541 B
Tcl

# See the file LICENSE for redistribution information.
#
# Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.
#
# $Id$
#
# TEST test041
# TEST Test039 with off-page duplicates
# TEST DB_GET_BOTH functionality with off-page duplicates.
proc test041 { method {nentries 10000} args} {
# Test with off-page duplicates
eval {test039 $method $nentries 20 "041" -pagesize 512} $args
# Test with multiple pages of off-page duplicates
eval {test039 $method [expr $nentries / 10] 100 "041" -pagesize 512} \
$args
}