From cb63b34b053119fcab093e95f555840afa9cfdcf Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 10 May 2012 10:11:51 +0200 Subject: LDB:ldbsearch - add search filter tests Signed-off-by: Andrew Bartlett --- lib/ldb/tests/test-generic.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/ldb/tests/test-generic.sh b/lib/ldb/tests/test-generic.sh index 69f901bd7c..e1f8e79e21 100755 --- a/lib/ldb/tests/test-generic.sh +++ b/lib/ldb/tests/test-generic.sh @@ -123,12 +123,14 @@ if [ $count != 2 ]; then echo returned $count records - expected 2 echo "this fails on openLdap ..." fi +$VALGRIND ldbsearch '(cn>t)' cn && exit 1 # strictly greater should not work count=`$VALGRIND ldbsearch '(cn<=t)' cn | grep '^dn' | wc -l` if [ $count != 13 ]; then echo returned $count records - expected 13 echo "this fails on openLdap ..." fi +$VALGRIND ldbsearch '(cn