diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 13:21:18 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | c9ca0f796cd63aee1aa7e13d7de15ab9930b8133 (patch) | |
tree | e9f3dce68e0acfa25a2ddef66439e04be6aa6c61 /testprogs | |
parent | 6b7e505963539f3d09c43ba9cb4d0dfe9e769187 (diff) | |
download | samba-c9ca0f796cd63aee1aa7e13d7de15ab9930b8133.tar.gz |
testprogs: Use system_or_builddir_binary() for test_kinit_heimdal
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_kinit_heimdal.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/testprogs/blackbox/test_kinit_heimdal.sh b/testprogs/blackbox/test_kinit_heimdal.sh index 73b002fb1fe..8e507e3ad93 100755 --- a/testprogs/blackbox/test_kinit_heimdal.sh +++ b/testprogs/blackbox/test_kinit_heimdal.sh @@ -38,19 +38,12 @@ fi enableaccount="$samba_tool user enable" machineaccountccache="$samba4srcdir/scripting/bin/machineaccountccache" -ldbmodify="ldbmodify" -if [ -x "$samba4bindir/ldbmodify" ]; then - ldbmodify="$samba4bindir/ldbmodify" -fi - -ldbsearch="ldbsearch" -if [ -x "$samba4bindir/ldbsearch" ]; then - ldbsearch="$samba4bindir/ldbsearch" -fi - . $(dirname $0)/subunit.sh . $(dirname $0)/common_test_fns.inc +ldbmodify=$(system_or_builddir_binary ldbmodify "${BINDIR}") +ldbsearch=$(system_or_builddir_binary ldbsearch "${BINDIR}") + enctype="-e $ENCTYPE" unc="//$SERVER/tmp" |