summaryrefslogtreecommitdiffstats
path: root/src/util/db2/test/hash1.tests/testit
diff options
context:
space:
mode:
authorMarc Horowitz <marc@mit.edu>1996-07-22 20:49:46 +0000
committerMarc Horowitz <marc@mit.edu>1996-07-22 20:49:46 +0000
commitedf8b4d8a6a665c2aa150993cd813ea6c5cf12e1 (patch)
tree6c2974a97b448c040fa4a31708ec5e02f187526c /src/util/db2/test/hash1.tests/testit
parent013bb1391582ed9e653ae706e398ddb8d08cfcc9 (diff)
this commit includes all the changes on the OV_9510_INTEGRATION and
OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/db2/test/hash1.tests/testit')
-rw-r--r--src/util/db2/test/hash1.tests/testit154
1 files changed, 154 insertions, 0 deletions
diff --git a/src/util/db2/test/hash1.tests/testit b/src/util/db2/test/hash1.tests/testit
new file mode 100644
index 000000000..c80dc4e69
--- /dev/null
+++ b/src/util/db2/test/hash1.tests/testit
@@ -0,0 +1,154 @@
+#!/bin/csh -f
+#
+# @(#)testit 8.1 (Berkeley) 6/4/93
+#
+
+echo ""
+echo "PAGE FILL "
+set name=WORDS
+ set i = 256
+ foreach j ( 11 14 21 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ set i = 512
+ foreach j ( 21 28 43 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ set i = 1024
+ foreach j ( 43 57 85 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ set i = 2048
+ foreach j ( 85 114 171 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ set i = 4096
+ foreach j ( 171 228 341 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ set i = 8192
+ foreach j ( 341 455 683 )
+ echo "thash4 $i $j"
+ ./thash4 $i $j 25000 65536 $name < $name
+ end
+ echo "PAGE FILL "
+ set i = 256
+ foreach j ( 11 14 21 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 512
+ foreach j ( 21 28 43 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 1024
+ foreach j ( 43 57 85 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 2048
+ foreach j ( 85 114 171 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 4096
+ foreach j ( 171 228 341 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 8192
+ foreach j ( 341 455 683 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 25000 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+set name=LONG.DATA
+ set i = 1024
+ foreach j ( 1 2 4 )
+ echo ./thash4 $i $j 600 65536 $name
+ ./thash4 $i $j 600 65536 $name < $name
+ end
+
+ set i = 2048
+ foreach j ( 1 2 4 )
+ echo ./thash4 $i $j 600 65536 $name
+ ./thash4 $i $j 600 65536 $name < $name
+ end
+ set i = 4096
+ foreach j ( 1 2 4 )
+ echo ./thash4 $i $j 600 65536 $name
+ ./thash4 $i $j 600 65536 $name < $name
+ end
+ set i = 8192
+ foreach j ( 2 4 8 )
+ echo ./thash4 $i $j 600 65536 $name
+ ./thash4 $i $j 600 65536 $name < $name
+ end
+ echo "PAGE FILL "
+ set i = 1024
+ foreach j ( 1 2 4 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 600 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 2048
+ foreach j ( 1 2 4 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 600 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 4096
+ foreach j ( 1 2 4 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 600 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+ set i = 8192
+ foreach j ( 2 4 8 )
+ echo "$i"_"$j"
+ ./tcreat3 $i $j 600 $name < $name
+ ./tread2 65536 < $name
+ ./tverify $name < $name
+ ./tseq > /dev/null
+ ./tdel $i $j $name < $name
+ end
+
+./driver2