Lines Matching +full:120 +full:- +full:db
1 #!/bin/sh -
3 # db regression tests
12 if [ -f /usr/share/dict/words ]; then
14 elif [ -f /usr/dict/words ]; then
21 if [ $# -eq 0 ]; then
26 while [ $# -gt 0 ]
30 [0-9]*)
52 rm -f $TMP1 $TMP2 $TMP3
63 rm -f $TMP2 $TMP3
71 $PROG -o $TMP3 $type $TMP2
72 if (cmp -s $TMP1 $TMP3) ; then :
79 rm -f $TMP2 $TMP3
85 $PROG -o $TMP3 recno $TMP2
86 if (cmp -s $TMP1 $TMP3) ; then :
102 rm -f $TMP2 $TMP3
110 $PROG -o $TMP3 $type $TMP2
111 if (cmp -s $TMP1 $TMP3) ; then :
118 rm -f $TMP2 $TMP3
123 $PROG -o $TMP3 recno $TMP2
124 if (cmp -s $TMP1 $TMP3) ; then :
135 rm -f $TMP1
136 (find /bin -type f -print | xargs cat) > $TMP1
138 rm -f $TMP2 $TMP3
139 for i in `find /bin -type f -print`; do
146 $PROG -o $TMP3 $type $TMP2
147 if (cmp -s $TMP1 $TMP3) ; then :
157 rm -f $TMP2 $TMP3
158 for i in `find /bin -type f -print`; do
165 $PROG -i psize=$psize -o $TMP3 $type $TMP2
166 if (cmp -s $TMP1 $TMP3) ; then :
174 rm -f $TMP2 $TMP3
175 find /bin -type f -print |
182 $PROG -i psize=$psize -o $TMP3 recno $TMP2
183 if (cmp -s $TMP1 $TMP3) ; then :
220 rm -f $TMP2 $TMP3
247 $PROG -o $TMP3 recno $TMP2
248 if (cmp -s $TMP1 $TMP3) ; then :
261 for (i = 1500; i; --i) {
270 rm -f $TMP2 $TMP3
277 --i;
280 for (i = 1500; i; --i)
283 $PROG -o $TMP3 recno $TMP2
284 if (cmp -s $TMP1 $TMP3) ; then :
313 rm -f $TMP2 $TMP3
333 $PROG -o $TMP3 recno $TMP2
334 sort -o $TMP1 $TMP1
335 sort -o $TMP3 $TMP3
336 if (cmp -s $TMP1 $TMP3) ; then :
349 for (i = 1; i <= 120; ++i)
351 printf("%05d: input key %d: %s\n", 120, 120, $0);
357 rm -f $TMP2 $TMP3
362 if (i == 120)
368 for (i = 1; i <= 120; ++i)
377 $PROG -o $TMP3 recno $TMP2
378 if (cmp -s $TMP1 $TMP3) ; then :
390 rm -f $TMP1
420 rm -f $TMP2 $TMP3
433 $PROG -iflags=1 -o $TMP3 $type $TMP2
434 sort -o $TMP3 $TMP3
435 if (cmp -s $TMP1 $TMP3) ; then :
453 rm -f $TMP2 $TMP3
467 $PROG -o $TMP3 $type $TMP2 > /dev/null 2>&1
468 if [ -s $TMP3 ] ; then
484 $PROG -o $TMP3 $type $TMP2 > /dev/null 2>&1
485 if [ -s $TMP3 ] ; then
502 rm -f $TMP2 $TMP3
517 $PROG -o $TMP3 $type $TMP2
518 if (cmp -s $TMP1 $TMP3) ; then :
536 rm -f $TMP2 $TMP3
544 $PROG -i psize=512 -o $TMP3 $type $TMP2
545 if (cmp -s $TMP1 $TMP3) ; then :
560 rm -f byte.file $TMP2 $TMP3
568 $PROG -ilorder=$order -f byte.file -o $TMP3 $type $TMP2
569 if (cmp -s $TMP1 $TMP3) ; then :
578 $PROG -s \
579 -ilorder=$order -f byte.file -o $TMP3 $type $TMP2
580 if (cmp -s $TMP1 $TMP3) ; then :
587 rm -f byte.file
625 $PROG -o$TMP3 \
626 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
628 if (cmp -s $TMP1 $TMP3) ; then :
638 $PROG -o$TMP3 \
639 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
641 if (cmp -s $TMP1 $TMP3) ; then :
651 $PROG -o$TMP3 \
652 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
654 if (cmp -s $TMP1 $TMP3) ; then :
664 $PROG -o$TMP3 \
665 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
667 if (cmp -s $TMP1 $TMP3) ; then :
677 $PROG -o$TMP3 \
678 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
680 if (cmp -s $TMP1 $TMP3) ; then :
690 $PROG -o$TMP3 \
691 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
693 if (cmp -s $TMP1 $TMP3) ; then :