Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctdb-tests: Allow tests access to CTDB_BASE
On the node where the tests are run, CTDB_BASE is always set. This applies to local daemons too. However, when tests are being run against a real cluster, there may be a need to access configuration files. However, CTDB_BASE will not be set in this case. So, provide a function to get CTDB_BASE, if set, or a real cluster node's configuration directory, if CTDB_BASE is not set. Signed-off-by: Martin Schwenke <[email protected]> Reviewed-by: Amitay Isaacs <[email protected]>
- Loading branch information