START lib/libc/db 2024-11-06T18:50:34Z ==== db-1 ==== cc -O2 -pipe -g -D__DBINTERFACE_PRIVATE -DDEBUG -MD -MP -c /usr/src/regress/lib/libc/db/dbtest.c /usr/src/regress/lib/libc/db/dbtest.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compare(db1, db2) ^ /usr/src/regress/lib/libc/db/dbtest.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get(dbp, kp) ^ /usr/src/regress/lib/libc/db/dbtest.c:374:36: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] MINIMUM((int)kp->size, 20), kp->data, NOSUCHKEY); ^~~~~~~~ /usr/src/regress/lib/libc/db/dbtest.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getdata(dbp, kp, dp) ^ /usr/src/regress/lib/libc/db/dbtest.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put(dbp, kp, dp) ^ /usr/src/regress/lib/libc/db/dbtest.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rem(dbp, kp) ^ /usr/src/regress/lib/libc/db/dbtest.c:431:36: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] MINIMUM((int)kp->size, 20), kp->data, NOSUCHKEY); ^~~~~~~~ /usr/src/regress/lib/libc/db/dbtest.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] synk(dbp) ^ /usr/src/regress/lib/libc/db/dbtest.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seq(dbp, kp) ^ /usr/src/regress/lib/libc/db/dbtest.c:475:36: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] MINIMUM((int)kp->size, 20), kp->data, NOSUCHKEY); ^~~~~~~~ /usr/src/regress/lib/libc/db/dbtest.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump(dbp, rev) ^ /usr/src/regress/lib/libc/db/dbtest.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setflags(s) ^ /usr/src/regress/lib/libc/db/dbtest.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sflags(flags) ^ /usr/src/regress/lib/libc/db/dbtest.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbtype(s) ^ /usr/src/regress/lib/libc/db/dbtest.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setinfo(type, s) ^ /usr/src/regress/lib/libc/db/dbtest.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rfile(name, lenp) ^ /usr/src/regress/lib/libc/db/dbtest.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xmalloc(text, len) ^ 17 warnings generated. cc -o dbtest dbtest.o sh /usr/src/regress/lib/libc/db/run.test 1 Test 1: btree, hash: small key, small data pairs Test 1: recno: small key, small data pairs ==== db-2 ==== sh /usr/src/regress/lib/libc/db/run.test 2 Test 2: btree, hash: small key, medium data pairs Test 2: recno: small key, medium data pairs ==== db-3 ==== sh /usr/src/regress/lib/libc/db/run.test 3 Test 3: hash: small key, big data pairs Test 3: btree: small key, big data pairs page size 512 page size 16384 page size 65536 Test 3: recno: big data pairs page size 512 page size 16384 page size 65536 ==== db-4 ==== sh /usr/src/regress/lib/libc/db/run.test 4 Test 4: recno: random entries ==== db-5 ==== sh /usr/src/regress/lib/libc/db/run.test 5 Test 5: recno: reverse order entries ==== db-6 ==== sh /usr/src/regress/lib/libc/db/run.test 6 Test 6: recno: alternating order entries ==== db-7 ==== sh /usr/src/regress/lib/libc/db/run.test 7 Test 7: btree, recno: delete cursor record ==== db-8 ==== sh /usr/src/regress/lib/libc/db/run.test 8 Test 8: btree, hash: repeated small key, big data pairs 1 of 10 2 of 10 3 of 10 4 of 10 5 of 10 6 of 10 7 of 10 8 of 10 (comparison) 9 of 10 10 of 10 ==== db-9 ==== sh /usr/src/regress/lib/libc/db/run.test 9 Test 9: btree: duplicate keys ==== db-10 ==== sh /usr/src/regress/lib/libc/db/run.test 10 Test 10: btree, recno: test cursor flag use ==== db-11 ==== sh /usr/src/regress/lib/libc/db/run.test 11 Test 11: recno: reverse order insert ==== db-12 ==== sh /usr/src/regress/lib/libc/db/run.test 12 Test 12: btree: lots of keys, small page size ==== db-13 ==== sh /usr/src/regress/lib/libc/db/run.test 13 Test 13: btree, hash: differing byte orders ==== db-20 ==== sh /usr/src/regress/lib/libc/db/run.test 20 Test 20: hash: bucketsize, fill factor; nelem 25000 cachesize 65536 bucketsize 256, fill factor 11 bucketsize 256, fill factor 14 bucketsize 256, fill factor 21 bucketsize 512, fill factor 21 bucketsize 512, fill factor 28 bucketsize 512, fill factor 43 bucketsize 1024, fill factor 43 bucketsize 1024, fill factor 57 bucketsize 1024, fill factor 85 bucketsize 2048, fill factor 85 bucketsize 2048, fill factor 114 bucketsize 2048, fill factor 171 bucketsize 4096, fill factor 171 bucketsize 4096, fill factor 228 bucketsize 4096, fill factor 341 bucketsize 8192, fill factor 341 bucketsize 8192, fill factor 455 bucketsize 8192, fill factor 683 PASS lib/libc/db Duration 0m14.55s