summaryrefslogtreecommitdiff
path: root/lib/tdb2/test
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:06:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:06:13 +0930
commitb50b48f575d8ad2a709c89dab0a64e19e45d7b08 (patch)
treef5cddc9072fa37e6c9692fa30fe0c7d45547af65 /lib/tdb2/test
parent13238912facb04ab3aafeb020de6226659d83e6b (diff)
downloadsamba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.gz
samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.bz2
samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.zip
tdb2: add tdb_attribute_tdb1_max_dead
This allows us to simulate the old "volatile" flag for tdb1. It's not necessary for tdb2. As this is the last function in tdb1.h, we remove that file. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit b8e64e9346793164651a36eccb3c205077e5c91b)
Diffstat (limited to 'lib/tdb2/test')
-rw-r--r--lib/tdb2/test/failtest_helper.h2
-rw-r--r--lib/tdb2/test/tdb1-external-agent.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/tdb2/test/failtest_helper.h b/lib/tdb2/test/failtest_helper.h
index 54529fe893..02acac8c3c 100644
--- a/lib/tdb2/test/failtest_helper.h
+++ b/lib/tdb2/test/failtest_helper.h
@@ -4,7 +4,7 @@
#include <stdbool.h>
/* FIXME: Check these! */
-#define INITIAL_TDB_MALLOC "open.c", 395, FAILTEST_MALLOC
+#define INITIAL_TDB_MALLOC "open.c", 396, FAILTEST_MALLOC
#define URANDOM_OPEN "open.c", 62, FAILTEST_OPEN
#define URANDOM_READ "open.c", 42, FAILTEST_READ
diff --git a/lib/tdb2/test/tdb1-external-agent.c b/lib/tdb2/test/tdb1-external-agent.c
index 150150754a..ffde077025 100644
--- a/lib/tdb2/test/tdb1-external-agent.c
+++ b/lib/tdb2/test/tdb1-external-agent.c
@@ -10,7 +10,6 @@
#include <limits.h>
#include <string.h>
#include <errno.h>
-#include <ccan/tdb2/tdb1.h>
#include <ccan/tdb2/tdb1_private.h>
#include <ccan/tap/tap.h>
#include <stdio.h>