diff options
Diffstat (limited to 'bdb/test/test040.tcl')
-rw-r--r-- | bdb/test/test040.tcl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bdb/test/test040.tcl b/bdb/test/test040.tcl new file mode 100644 index 00000000000..912e1735d8e --- /dev/null +++ b/bdb/test/test040.tcl @@ -0,0 +1,16 @@ +# See the file LICENSE for redistribution information. +# +# Copyright (c) 1998, 1999, 2000 +# Sleepycat Software. All rights reserved. +# +# $Id: test040.tcl,v 11.3 2000/02/14 03:00:20 bostic Exp $ +# +# DB Test 40 {access method} +# DB_GET_BOTH functionality with off-page duplicates. +proc test040 { method {nentries 10000} args} { + # Test with off-page duplicates + eval {test038 $method $nentries 20 40 -pagesize 512} $args + + # Test with multiple pages of off-page duplicates + eval {test038 $method [expr $nentries / 10] 100 40 -pagesize 512} $args +} |