summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-tdb-features.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-15 11:27:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:09 -0500
commit4df9b5a6e3498743475d2309f75eb42db347f7eb (patch)
tree46d6ed4ca682860b1770de29bd40fb5fbff10a06 /source4/lib/ldb/tests/test-tdb-features.sh
parent84e3efd8ea1cdb48e20f2f42c32f3ffa7b822352 (diff)
downloadsamba-4df9b5a6e3498743475d2309f75eb42db347f7eb.tar.gz
samba-4df9b5a6e3498743475d2309f75eb42db347f7eb.tar.bz2
samba-4df9b5a6e3498743475d2309f75eb42db347f7eb.zip
r8490: make the ldb tests more portable
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)
Diffstat (limited to 'source4/lib/ldb/tests/test-tdb-features.sh')
-rw-r--r--source4/lib/ldb/tests/test-tdb-features.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/test-tdb-features.sh b/source4/lib/ldb/tests/test-tdb-features.sh
index fb68733802..6f1afdcf33 100644
--- a/source4/lib/ldb/tests/test-tdb-features.sh
+++ b/source4/lib/ldb/tests/test-tdb-features.sh
@@ -7,7 +7,7 @@ mv $LDB_URL $LDB_URL.2
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"
$VALGRIND bin/ldbsearch "$expression"