diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 13:06:55 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | e6ab157f82c0bf5e8e17f0c6280fdfcd60b15176 (patch) | |
tree | fd96f6dff6fa0250db63460b8b596d7d7a04b811 /testprogs | |
parent | 2cfe2664392c6dc1d6505ef96f94621174fa04b2 (diff) | |
download | samba-e6ab157f82c0bf5e8e17f0c6280fdfcd60b15176.tar.gz |
testprogs: Use system_or_builddir_binary() for ldapcmp_restoredc
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/ldapcmp_restoredc.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testprogs/blackbox/ldapcmp_restoredc.sh b/testprogs/blackbox/ldapcmp_restoredc.sh index bf3ba321d8f..508b0172091 100755 --- a/testprogs/blackbox/ldapcmp_restoredc.sh +++ b/testprogs/blackbox/ldapcmp_restoredc.sh @@ -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() { |