ctdb-tests: Use $CTDB_SCRIPTS_TESTS_BINDIR
authorMartin Schwenke <martin@meltin.net>
Tue, 9 Oct 2018 05:30:15 +0000 (16:30 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:17 +0000 (07:16 +0100)
commit7ac5e7ae4413b23c17044cd16ca5db755d3934df
tree2735781efc79ff70f73d4933172c74ab8b452573
parentbde73c7a044a9508bf08bb8c55a37f38d034afe0
ctdb-tests: Use $CTDB_SCRIPTS_TESTS_BINDIR

Don't calculate this locally as _test_bin_dir.  Just calculate
top_dir, source script_install_paths.sh and use
$CTDB_SCRIPT_TESTS_BINDIR.

Don't bother sanity checking if TEST_BIN_DIR is set.  It will go away
soon.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/common.sh