summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-extended.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tests/test-extended.sh')
-rwxr-xr-xsource4/lib/ldb/tests/test-extended.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/test-extended.sh b/source4/lib/ldb/tests/test-extended.sh
index c3958cf01c..a84e3b78a3 100755
--- a/source4/lib/ldb/tests/test-extended.sh
+++ b/source4/lib/ldb/tests/test-extended.sh
@@ -38,7 +38,7 @@ EOF
checkcount() {
count=$1
expression="$2"
- n=`bin/ldbsearch "$expression" | grep ^dn | wc -l`
+ n=`bin/ldbsearch "$expression" | grep '^dn' | wc -l`
if [ $n != $count ]; then
echo "Got $n but expected $count for $expression"
bin/ldbsearch "$expression"