1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

ctdb-tests: Fix test failure when tests are installed

This currently works when tests are run in-tree.

However, when installed, use of an incorrect variable means it fails
to find statd_callout in the tests/ subdirectory.  Switch to using the
correct variable.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sun Oct  6 11:07:05 UTC 2024 on atb-devel-224
This commit is contained in:
Martin Schwenke 2024-09-04 20:20:20 +10:00 committed by Martin Schwenke
parent 18b0ea3e9a
commit 250947611c

View File

@ -111,7 +111,7 @@ EOF
case "$event" in
add-client | del-client)
cmd="${CTDB_SCRIPTS_TESTS_LIBEXEC_DIR}/statd_callout"
cmd="${CTDB_SCRIPTS_HELPER_BINDIR}/statd_callout"
unit_test "$cmd" "$event" "$@"
;;
*)