diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-01 08:18:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:02 -0500 |
commit | f450b0a02a71370865094a9e3ac5271c4cde9c88 (patch) | |
tree | 073433e8bf49249eaa894cba3c08f33f3a817b11 /source4/lib/ldb/tests/test-generic.sh | |
parent | 4a8c3a9e623e40a3fd927c4ed5fa3a8fa41f3012 (diff) | |
download | samba-f450b0a02a71370865094a9e3ac5271c4cde9c88.tar.gz samba-f450b0a02a71370865094a9e3ac5271c4cde9c88.tar.bz2 samba-f450b0a02a71370865094a9e3ac5271c4cde9c88.zip |
r8043: increase shell compatibility of ldb tests
(This used to be commit 60863b6faf7f78566052491340607cbb4b3f2e72)
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 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 |