1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Support using system ldbmodify.

Fixes this test when bin/ldbmodify isn't built because we're using the
system ldbmodify.

Change-Id: I2ff0d9808245353006c6be4989976a3edad8f98e
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Jelmer Vernooij 2014-11-01 10:17:23 -07:00
parent fb08cd5310
commit 49445541e7

View File

@ -19,7 +19,12 @@ failed=0
samba4bindir="$BINDIR"
wbinfo="$VALGRIND $samba4bindir/wbinfo"
samba_tool="$VALGRIND $samba4bindir/samba-tool"
ldbmodify="$samba4bindir/ldbmodify"
if [ -f "$samba4bindir/ldbmodify" ]; then
ldbmodify="$samba4bindir/ldbmodify"
else
# Using system ldbmodify
ldbmodify="ldbmodify"
fi
. `dirname $0`/../../testprogs/blackbox/subunit.sh