X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-fork-test.c;h=2734742571255f300a8f83be33f0953677631ba9;hp=ff1caa06e0f081f50e7f669feee24f23ea00a2d8;hb=22d0e0dc59fc9d7e0046fec6971ef478c2d604fd;hpb=e6862ec8ae269217f3596f5af84747868b983afb diff --git a/ccan/tdb2/test/run-fork-test.c b/ccan/tdb2/test/run-fork-test.c index ff1caa06..27347425 100644 --- a/ccan/tdb2/test/run-fork-test.c +++ b/ccan/tdb2/test/run-fork-test.c @@ -10,14 +10,7 @@ * Note that we don't hold a lock across tdb_traverse callbacks, so * that doesn't matter. */ -#include -#include -#include -#include -#include -#include -#include -#include +#include "tdb2-source.h" #include #include #include @@ -85,10 +78,10 @@ int main(int argc, char *argv[]) return 2; tdb_chainunlock(tdb, key); - if (tap_log_messages != 2) + if (tap_log_messages != 3) return 3; tdb_close(tdb); - if (tap_log_messages != 2) + if (tap_log_messages != 3) return 4; return 0; }