ctdb-tests: Use $PWD/bin/ if it exists when running in-tree
authorMartin Schwenke <martin@meltin.net>
Wed, 5 Feb 2020 01:09:51 +0000 (12:09 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Feb 2020 04:07:39 +0000 (04:07 +0000)
commit3b0b830e40330b7fa679cf3c6e25dfb29d19e969
tree31ea4665640c1890c0e6f2db00097291113a6326
parentb0b14e4eddab78ef71bc6d39f016e4a18929fd64
ctdb-tests: Use $PWD/bin/ if it exists when running in-tree

When running tests from a top-level build, a stale build in ctdb/bin/
will be preferred and may cause confusing results.

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