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