r8043: increase shell compatibility of ldb tests
authorAndrew Tridgell <tridge@samba.org>
Fri, 1 Jul 2005 08:18:48 +0000 (08:18 +0000)
committerGerald (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

index 607b3f7851a95370f043e0d0c67c2472765bf1cc..d3965fb1764b3c0fdebf92167c5af1bc217f5624 100755 (executable)
@@ -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