summaryrefslogtreecommitdiff
path: root/storage/bdb/test/test040.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'storage/bdb/test/test040.tcl')
-rw-r--r--storage/bdb/test/test040.tcl17
1 files changed, 17 insertions, 0 deletions
diff --git a/storage/bdb/test/test040.tcl b/storage/bdb/test/test040.tcl
new file mode 100644
index 00000000000..1856f78fc2e
--- /dev/null
+++ b/storage/bdb/test/test040.tcl
@@ -0,0 +1,17 @@
+# See the file LICENSE for redistribution information.
+#
+# Copyright (c) 1998-2002
+# Sleepycat Software. All rights reserved.
+#
+# $Id: test040.tcl,v 11.6 2002/01/11 15:53:47 bostic Exp $
+#
+# TEST test040
+# TEST Test038 with off-page duplicates
+# TEST 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
+}