From f450b0a02a71370865094a9e3ac5271c4cde9c88 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 1 Jul 2005 08:18:48 +0000 Subject: r8043: increase shell compatibility of ldb tests (This used to be commit 60863b6faf7f78566052491340607cbb4b3f2e72) --- source4/lib/ldb/tests/test-generic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/tests') diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index 607b3f7851..d3965fb176 100755 --- 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 -- cgit