ctdb-tests: Use known install paths in local daemon tests
authorMartin Schwenke <martin@meltin.net>
Wed, 29 Aug 2018 23:37:53 +0000 (09:37 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 3 Sep 2018 08:52:12 +0000 (10:52 +0200)
commit8aacde3c5d86d8a0216b3bba200a39ca9a561653
tree9eb136fcbc8e5ee6e4b26ae3dcdfe154a87c77aa
parenteed738a37a6f40ca259153979f364c17e77f52ea
ctdb-tests: Use known install paths in local daemon tests

The in-tree local daemons tests don't work from a top-level Samba
compile.  The simple test suite was the first test suite and things
have generally worked, so it has been slow to adopt general test
infrastructure changes.

Instead of re-calculating script and helper locations, use the paths
from script_install_paths.sh.  The bin/ directory is already added to
PATH in common.sh, so don't add it here.

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