From 9d897b0951e73a4717ae133d5b6b2493334fbf22 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 22 Feb 2012 15:03:37 +1030 Subject: lib/tdb2: adapt unit tests to SAMBA environment. This means changing headers, implementing a simple tap-like wrapper, and also splitting out the helpers into those which are linked with the api* tests (which can't use non-public tdb2 functions) and those linked with the run* tests (which can). Signed-off-by: Rusty Russell --- lib/tdb2/test/api-13-delete.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tdb2/test/api-13-delete.c') diff --git a/lib/tdb2/test/api-13-delete.c b/lib/tdb2/test/api-13-delete.c index 0287a6abf9..c8ed580615 100644 --- a/lib/tdb2/test/api-13-delete.c +++ b/lib/tdb2/test/api-13-delete.c @@ -1,10 +1,10 @@ -#include // For TDB_TOPLEVEL_HASH_BITS +#include "private.h" // For TDB_TOPLEVEL_HASH_BITS #include #include #include #include -#include -#include +#include "tdb2.h" +#include "tap-interface.h" #include "logging.h" /* We rig the hash so adjacent-numbered records always clash. */ -- cgit