tdb2: test: convert (non-invasive) run tests to api tests.
[kai/samba.git] / lib / tdb2 / test / api-missing-entries.c
similarity index 90%
rename from lib/tdb2/test/run-missing-entries.c
rename to lib/tdb2/test/api-missing-entries.c
index 22d6ba4270af6b22277fc8aa2356b82039c19f41..1932947a3a894a90fde7a848838406c91e7e2e9c 100644 (file)
@@ -1,6 +1,10 @@
-#include "tdb2-source.h"
 /* Another test revealed that we lost an entry.  This reproduces it. */
+#include <ccan/tdb2/tdb2.h>
+#include <ccan/hash/hash.h>
 #include <ccan/tap/tap.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #include "logging.h"
 
 #define NUM_RECORDS 1189