diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-21 15:37:52 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-21 15:59:28 +0100 |
commit | f26db53273a8f97267982af9799c26b49ef5b216 (patch) | |
tree | b5c868192416bd9b067eb89204663780c8920112 /nsswitch/tests | |
parent | 153dfc514c5885e52f11852b25dd018fc1160067 (diff) | |
download | samba-f26db53273a8f97267982af9799c26b49ef5b216.tar.gz samba-f26db53273a8f97267982af9799c26b49ef5b216.tar.xz samba-f26db53273a8f97267982af9799c26b49ef5b216.zip |
nsswitch: Fix idmap rfc2307 test with system ldb.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'nsswitch/tests')
-rwxr-xr-x | nsswitch/tests/test_idmap_rfc2307.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/nsswitch/tests/test_idmap_rfc2307.sh b/nsswitch/tests/test_idmap_rfc2307.sh index b9efd346c8a..d3087a171b5 100755 --- a/nsswitch/tests/test_idmap_rfc2307.sh +++ b/nsswitch/tests/test_idmap_rfc2307.sh @@ -18,8 +18,17 @@ DC_PASSWORD="$9" echo called with: $1 $2 $3 $4 $5 $6 $7 $8 $9 wbinfo="$VALGRIND $BINDIR/wbinfo" -ldbadd="$BINDIR/ldbadd" -ldbdel="$BINDIR/ldbdel" + +ldbadd="ldbadd" +if [ -x "$BINDIR/ldbadd" ]; then + ldbadd="$BINDIR/ldbadd" +fi + +ldbdel="ldbdel" +if [ -x "$BINDIR/ldbdel" ]; then + ldbdel="$BINDIR/ldbdel" +fi + failed=0 . `dirname $0`/../../testprogs/blackbox/subunit.sh |