1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

testprogs: Use system_or_builddir_binary() for ldapcmp_restoredc

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider 2022-12-22 13:06:55 +01:00 committed by Andreas Schneider
parent 2cfe266439
commit e6ab157f82

View File

@ -14,11 +14,9 @@ RESTORED_DC_PREFIX_ABS="$2"
shift 2
. $(dirname $0)/subunit.sh
. "$(dirname "${0}")/common_test_fns.inc"
ldbsearch="${VALGRIND} ldbsearch"
if [ -x "${BINDIR}/ldbsearch" ]; then
ldbsearch="${VALGRIND} ${BINDIR}/ldbsearch"
fi
ldbsearch=$(system_or_builddir_binary ldbsearch "${BINDIR}")
basedn()
{