mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
LDB:ldbsearch - add search filter tests
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
6a8c697954
commit
cb63b34b05
@ -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<t)' cn && exit 1 # strictly less should not work
|
||||
|
||||
checkcount() {
|
||||
count=$1
|
||||
|
Loading…
x
Reference in New Issue
Block a user