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