Always use CTDB_DBDIR_PERSISTENT, which is setup by the test
infrastructure. The persistent database directory is
not (necessarily) relative to the volatile one.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
FAKE_TDBTOOL_SUPPORTS_CHECK="yes"
-touch "${CTDB_DBDIR}/persistent/foo.tdb.0"
+touch "${CTDB_DBDIR_PERSISTENT}/foo.tdb.0"
FAKE_TDB_IS_OK="yes"
ok_null
FAKE_TDBTOOL_SUPPORTS_CHECK="yes"
-db="${CTDB_DBDIR}/persistent/foo.tdb.0"
+db="${CTDB_DBDIR_PERSISTENT}/foo.tdb.0"
touch "$db"
FAKE_TDB_IS_OK="no"