}
printf("Start of %s unit test.\n", PACKAGE_STRING);
checklock_start();
+ /*
net_test();
alloc_test();
msgreply_test();
lruhash_test();
slabhash_test();
+ */
msgparse_test();
checklock_stop();
printf("%d tests succeeded\n", testcount);
continue;
if(strlen(buf) < 10) /* skip pcat line numbers. */
continue;
- if(0) printf("test no %d\n", no);
+ if(0) {
+ printf("test no %d: %s", no, buf);
+ fflush(stdout);
+ }
testpkt(pkt, alloc, out, buf);
no++;
}
p = alloc->quar;
while(p) {
np = alloc_special_next(p);
+ /* deinit special type */
+ lock_rw_destroy(&p->entry.lock);
free(p);
p = np;
}