]> git.sur5r.net Git - openldap/commitdiff
Add scope one tests
authorKurt Zeilenga <kurt@openldap.org>
Tue, 24 Sep 2002 02:05:01 +0000 (02:05 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 24 Sep 2002 02:05:01 +0000 (02:05 +0000)
tests/scripts/test003-search
tests/scripts/test009-referral
tests/scripts/test015-xsearch

index cf823b1dc0ea01da5207364bdd4f22d7aacb3180..7fbba0588a5bcfdd2c3b5661061974b639832915 100755 (executable)
@@ -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
index 504e79f02b3a22bc6fe9ec174eebd02bc878f713..fa03a8126d8eaa0d3360cfe34e4def33642da3a4 100755 (executable)
@@ -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
index e95a01f2eca20252a249f78cd7cdb0b9cf1c35e6..621ce8f12f40e1f94805d0f721900ffe0abd0167 100755 (executable)
@@ -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