diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 13:19:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | 6b7e505963539f3d09c43ba9cb4d0dfe9e769187 (patch) | |
tree | 4b4013ae9fd23bdace19723fc7807f704216864d /testprogs | |
parent | 6847110004564c2dace796013cca04d6defab836 (diff) | |
download | samba-6b7e505963539f3d09c43ba9cb4d0dfe9e769187.tar.gz |
testprogs: Use system_or_builddir_binary() for test_client_kerberos
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_client_kerberos.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/testprogs/blackbox/test_client_kerberos.sh b/testprogs/blackbox/test_client_kerberos.sh index b436192e768..54554ea3290 100755 --- a/testprogs/blackbox/test_client_kerberos.sh +++ b/testprogs/blackbox/test_client_kerberos.sh @@ -28,15 +28,8 @@ samba_rpcclient="$samba_bindir/rpcclient" samba_smbclient="$samba_bindir/smbclient" samba_smbtorture="$samba_bindir/smbtorture" -samba_kinit=kinit -if test -x ${samba_bindir}/samba4kinit; then - samba_kinit=${samba_bindir}/samba4kinit -fi - -samba_kdestroy=kdestroy -if test -x ${samba_bindir}/samba4kdestroy; then - samba_kinit=${samba_bindir}/samba4kdestroy -fi +samba_kinit=$(system_or_builddir_binary kinit "${BINDIR}" samba4kinit) +samba_kdestroy=$(system_or_builddir_binary kdestroy "${BINDIR}" samba4kdestroy) test_rpc_getusername() { |