summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-13-delete.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-02-22 15:03:37 +1030
committerAmitay Isaacs <amitay@gmail.com>2012-03-07 13:16:16 +1100
commit9d897b0951e73a4717ae133d5b6b2493334fbf22 (patch)
treec3fcbe7b449f1384da2d132110ebfbfedce8fd3b /lib/tdb2/test/api-13-delete.c
parent361f3ea9ee577c5a3e2fed687a0b417b257c31de (diff)
downloadsamba-9d897b0951e73a4717ae133d5b6b2493334fbf22.tar.gz
samba-9d897b0951e73a4717ae133d5b6b2493334fbf22.tar.bz2
samba-9d897b0951e73a4717ae133d5b6b2493334fbf22.zip
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 <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb2/test/api-13-delete.c')
-rw-r--r--lib/tdb2/test/api-13-delete.c6
1 files changed, 3 insertions, 3 deletions
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 <ccan/tdb2/private.h> // For TDB_TOPLEVEL_HASH_BITS
+#include "private.h" // For TDB_TOPLEVEL_HASH_BITS
#include <ccan/hash/hash.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <ccan/tdb2/tdb2.h>
-#include <ccan/tap/tap.h>
+#include "tdb2.h"
+#include "tap-interface.h"
#include "logging.h"
/* We rig the hash so adjacent-numbered records always clash. */