git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153dfc5
)
nsswitch: Fix idmap rfc2307 test with system ldb.
author
Andreas Schneider
<asn@samba.org>
Fri, 21 Feb 2014 14:37:52 +0000
(15:37 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 21 Feb 2014 14:59:28 +0000
(15:59 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
nsswitch/tests/test_idmap_rfc2307.sh
patch
|
blob
|
history
diff --git
a/nsswitch/tests/test_idmap_rfc2307.sh
b/nsswitch/tests/test_idmap_rfc2307.sh
index b9efd346c8aae09746555bc662c54854c8a8bd5f..d3087a171b5adbae44de9651f1a31129a397939d 100755
(executable)
--- 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