git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8c3a9
)
r8043: increase shell compatibility of ldb tests
author
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Jul 2005 08:18:48 +0000
(08:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:19:02 +0000
(13:19 -0500)
(This used to be commit
60863b6faf7f78566052491340607cbb4b3f2e72
)
source4/lib/ldb/tests/test-generic.sh
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/tests/test-generic.sh
b/source4/lib/ldb/tests/test-generic.sh
index 607b3f7851a95370f043e0d0c67c2472765bf1cc..d3965fb1764b3c0fdebf92167c5af1bc217f5624 100755
(executable)
--- a/
source4/lib/ldb/tests/test-generic.sh
+++ b/
source4/lib/ldb/tests/test-generic.sh
@@
-50,7
+50,7
@@
time $VALGRIND ldbtest --num-records 1000 --num-searches 5000 || exit 1
echo "Testing one level search"
count=`$VALGRIND ldbsearch -b 'ou=Groups,o=University of Michigan,c=TEST' -s one 'objectclass=*' none |grep ^dn | wc -l`
-if [
"$count"
!= 3 ]; then
+if [
$count
!= 3 ]; then
echo returned $count records - expected 3
exit 1
fi