ctdb-tests: Add ctdb-config wrapper stub for event script tests
authorMartin Schwenke <martin@meltin.net>
Wed, 2 May 2018 08:06:05 +0000 (18:06 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 17 May 2018 02:04:31 +0000 (04:04 +0200)
commitad82b8abc3a7ee9b72ae51b383ae012e2b8a4bcf
treec2b63412c33171f1ed336615aeaa61a544900897
parent7c33f5ec2da3e2995995ffccfa2db4f44e486b26
ctdb-tests: Add ctdb-config wrapper stub for event script tests

Create a shim helper around that simply invokes ctdb-config via its
real location.

This is needed because the event script tests set CTDB_HELPER_BINDIR
to the stubs directory because all other helpers used by event script
testing are currently stubs.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/stubs/ctdb-config [new file with mode: 0755]