summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_special_group.sh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-12-22 14:36:29 +0100
committerAndreas Schneider <asn@cryptomilk.org>2022-12-23 14:35:31 +0000
commit1106ef7189eeff49b47c295b5d5df179a3f8b672 (patch)
tree78d637d75d34cfdc853663902e685c6e72055f02 /testprogs/blackbox/test_special_group.sh
parent7c46c79a222e22d120632cf3ded739871f66b28f (diff)
downloadsamba-1106ef7189eeff49b47c295b5d5df179a3f8b672.tar.gz
testprogs: Use system_or_builddir_binary() for test_special_group
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs/blackbox/test_special_group.sh')
-rwxr-xr-xtestprogs/blackbox/test_special_group.sh5
1 files changed, 1 insertions, 4 deletions
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