diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 14:37:21 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | 39468deb738e9e8c0c7eff74a3cc6a254eaa9b00 (patch) | |
tree | ab851439a09d18419cc76edb9ff367db9c9fefe6 /testprogs | |
parent | 1106ef7189eeff49b47c295b5d5df179a3f8b672 (diff) | |
download | samba-39468deb738e9e8c0c7eff74a3cc6a254eaa9b00.tar.gz |
testprogs: Use system_or_builddir_binary() for test_trust_token
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_trust_token.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testprogs/blackbox/test_trust_token.sh b/testprogs/blackbox/test_trust_token.sh index bca1df0ba7c..075c0329171 100755 --- a/testprogs/blackbox/test_trust_token.sh +++ b/testprogs/blackbox/test_trust_token.sh @@ -26,14 +26,11 @@ TYPE=$1 shift 1 failed=0 -ldbsearch="${VALGRIND} ldbsearch" -if [ -x "${BINDIR}/ldbsearch" ]; then - ldbsearch="${VALGRIND} ${BINDIR}/ldbsearch" -fi - . $(dirname $0)/subunit.sh . $(dirname $0)/common_test_fns.inc +ldbsearch=$(system_or_builddir_binary ldbsearch "${BINDIR}") + test_token() { auth_args="${1}" |