diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-15 11:27:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:09 -0500 |
commit | 4df9b5a6e3498743475d2309f75eb42db347f7eb (patch) | |
tree | 46d6ed4ca682860b1770de29bd40fb5fbff10a06 /source4/lib/ldb/tests/test-generic.sh | |
parent | 84e3efd8ea1cdb48e20f2f42c32f3ffa7b822352 (diff) | |
download | samba-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-generic.sh')
-rwxr-xr-x | source4/lib/ldb/tests/test-generic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index 3ad17fe9d3..cc9f41954f 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -58,7 +58,7 @@ echo "Starting ldbtest indexed" time $VALGRIND ldbtest --num-records 100 --num-searches 500 || 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` +count=`$VALGRIND ldbsearch -b 'ou=Groups,o=University of Michigan,c=TEST' -s one 'objectclass=*' none |grep '^dn' | wc -l` if [ $count != 3 ]; then echo returned $count records - expected 3 exit 1 |