mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-tests: New variable CTDB_SCRIPTS_TESTS_BIN_DIR
This can be used to find ctdb_run_tests and ctdb_local_daemons. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
ba55306fce
commit
027b7ca003
@ -20,6 +20,7 @@ if ! $CTDB_TESTS_ARE_INSTALLED ; then
|
||||
CTDB_SCRIPTS_HELPER_BINDIR="${top_dir}/bin"
|
||||
CTDB_SCRIPTS_DATA_DIR="${ctdb_dir}/config"
|
||||
CTDB_SCRIPTS_TESTS_LIBEXEC_DIR="${top_dir}/bin"
|
||||
CTDB_SCRIPTS_TESTS_BIN_DIR="$CTDB_TEST_DIR"
|
||||
else
|
||||
# Installed
|
||||
CTDB_SCRIPTS_BASE="/usr/local/etc/ctdb"
|
||||
@ -30,6 +31,7 @@ else
|
||||
CTDB_SCRIPTS_HELPER_BINDIR="/usr/local/libexec/ctdb"
|
||||
CTDB_SCRIPTS_DATA_DIR="/usr/local/share/ctdb"
|
||||
CTDB_SCRIPTS_TESTS_LIBEXEC_DIR="/usr/local/libexec/ctdb/tests"
|
||||
CTDB_SCRIPTS_TESTS_BIN_DIR="/usr/local/bin"
|
||||
fi
|
||||
|
||||
export CTDB_SCRIPTS_BASE \
|
||||
@ -40,4 +42,5 @@ export CTDB_SCRIPTS_BASE \
|
||||
CTDB_SCRIPTS_TOOLS_HELPER_DIR \
|
||||
CTDB_SCRIPTS_HELPER_BINDIR \
|
||||
CTDB_SCRIPTS_DATA_DIR \
|
||||
CTDB_SCRIPTS_TESTS_LIBEXEC_DIR
|
||||
CTDB_SCRIPTS_TESTS_LIBEXEC_DIR \
|
||||
CTDB_SCRIPTS_TESTS_BIN_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user