From: Andreas Schneider Date: Thu, 22 Dec 2022 13:36:29 +0000 (+0100) Subject: testprogs: Use system_or_builddir_binary() for test_special_group X-Git-Tag: talloc-2.4.0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1106ef7189eeff49b47c295b5d5df179a3f8b672;p=thirdparty%2Fsamba.git testprogs: Use system_or_builddir_binary() for test_special_group Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/testprogs/blackbox/test_special_group.sh b/testprogs/blackbox/test_special_group.sh index e2a6aae16db..c587d5be4cf 100755 --- a/testprogs/blackbox/test_special_group.sh +++ b/testprogs/blackbox/test_special_group.sh @@ -18,10 +18,7 @@ failed=0 OLD_RELEASE="release-4-5-0-pre1" old_release_dir="$SRCDIR_ABS/source4/selftest/provisions/$OLD_RELEASE" -samba_tdbrestore="tdbrestore" -if [ -x "$BINDIR/tdbrestore" ]; then - samba_tdbrestore="$BINDIR/tdbrestore" -fi +samba_tdbrestore=$(system_or_builddir_binary tdbrestore "${BINDIR}") samba_undump="$SRCDIR_ABS/source4/selftest/provisions/undump.sh" if [ ! -x "${samba_undump}" ]; then