From: Kurt Zeilenga Date: Tue, 24 Sep 2002 02:05:01 +0000 (+0000) Subject: Add scope one tests X-Git-Tag: OPENLDAP_REL_ENG_2_1_6~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=895386c089d2a45d719934324a5bbe56686f3720;p=openldap Add scope one tests --- diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index cf823b1dc0..7fbba0588a 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -92,7 +92,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ +$LDAPSEARCH -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $PORT \ '(&(objectclass=groupofnames)(cn=A*)(member=cn=Mark Elliot,ou=Alumni Association,ou=People,o=University of Michigan,c=US))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then diff --git a/tests/scripts/test009-referral b/tests/scripts/test009-referral index 504e79f02b..fa03a8126d 100755 --- a/tests/scripts/test009-referral +++ b/tests/scripts/test009-referral @@ -110,7 +110,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -C -S "" -b "$BASEDN" -h $LOCALHOST -p $SLAVEPORT \ +$LDAPSEARCH -C -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $SLAVEPORT \ '(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index e95a01f2ec..621ce8f12f 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -92,7 +92,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ +$LDAPSEARCH -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $PORT \ '(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then