summaryrefslogtreecommitdiff
path: root/db-4.8.30/test/test018.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'db-4.8.30/test/test018.tcl')
-rw-r--r--db-4.8.30/test/test018.tcl20
1 files changed, 20 insertions, 0 deletions
diff --git a/db-4.8.30/test/test018.tcl b/db-4.8.30/test/test018.tcl
new file mode 100644
index 0000000..ab0226d
--- /dev/null
+++ b/db-4.8.30/test/test018.tcl
@@ -0,0 +1,20 @@
+# See the file LICENSE for redistribution information.
+#
+# Copyright (c) 1996-2009 Oracle. All rights reserved.
+#
+# $Id$
+#
+# TEST test018
+# TEST Offpage duplicate test
+# TEST Key_{first,last,before,after} offpage duplicates.
+# TEST Run duplicates with small page size so that we test off page
+# TEST duplicates.
+proc test018 { method {nentries 10000} args} {
+ puts "Test018: Off page duplicate tests"
+ set pgindex [lsearch -exact $args "-pagesize"]
+ if { $pgindex != -1 } {
+ puts "Test018: Skipping for specific pagesizes"
+ return
+ }
+ eval {test011 $method $nentries 19 "018" -pagesize 512} $args
+}