From: Martin Schwenke Date: Wed, 2 May 2018 08:06:05 +0000 (+1000) Subject: ctdb-tests: Add ctdb-config wrapper stub for event script tests X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=ad82b8abc3a7ee9b72ae51b383ae012e2b8a4bcf 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 Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/eventscripts/stubs/ctdb-config b/ctdb/tests/eventscripts/stubs/ctdb-config new file mode 100755 index 000000000000..818e3db69313 --- /dev/null +++ b/ctdb/tests/eventscripts/stubs/ctdb-config @@ -0,0 +1,2 @@ +#!/bin/sh +exec $VALGRIND "${CTDB_SCRIPTS_HELPER_BINDIR}/ctdb-config" "$@"