File: test040.tcl

package info (click to toggle)
db 2%3A2.4.14-2.7.7.1.c
  • links: PTS
  • area: main
  • in suites: potato
  • size: 12,716 kB
  • ctags: 9,382
  • sloc: ansic: 35,556; tcl: 8,564; cpp: 4,890; sh: 2,075; makefile: 1,723; java: 1,632; sed: 419; awk: 153; asm: 41
file content (16 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See the file LICENSE for redistribution information.
#
# Copyright (c) 1998
#	Sleepycat Software.  All rights reserved.
#
#	@(#)test040.tcl	10.1 (Sleepycat) 10/3/98
#
# DB Test 40 {access method}
# DB_GET_BOTH functionality with off-page duplicates.
proc test040 { method {nentries 10000} args} {
	# Test with off-page duplicates
	test038 $method $nentries 20 40 -psize 512 $args

	# Test with multiple pages of off-page duplicates
	test038 $method [expr $nentries / 10] 100 40 -psize 512 $args
}