]> git.sur5r.net Git - openldap/commitdiff
ITS#5810: exclude instead of include backends, explain exclusion
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 6 Dec 2009 14:04:51 +0000 (14:04 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 6 Dec 2009 14:04:51 +0000 (14:04 +0000)
tests/scripts/test006-acls
tests/scripts/test041-aci
tests/scripts/test058-syncrepl-asymmetric

index ce33cc8237e54b8615667a89163d264203aadb6d..3b6523cea62add323eb797fc87d60a5cd14fb00e 100755 (executable)
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
-case "$BACKEND" in
-bdb|hdb)
-       ;;
-*)
-       echo "Test does not support $BACKEND backend"
+case "$BACKEND" in ldif | null)
+       echo "$BACKEND backend does not support access controls, test skipped"
        exit 0
 esac
 
index 88b6234f266b4bb82ac6e0049fd8eb6bfdca2aed..f78a4c1be692a3c712d0b367c45a5375ed7e4d19 100755 (executable)
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
-case "$BACKEND" in
-bdb|hdb)
-       ;;
-*)
-       echo "Test does not support $BACKEND backend"
+case "$BACKEND" in ldif | null)
+       echo "$BACKEND backend does not support access controls, test skipped"
        exit 0
        ;;
 esac
index 51c1295c3d8f589032d6869dd594cfd2c737e24d..86e62ca9927b2753b09fe3cbc8a350202de3f3a7 100755 (executable)
 # environment variable RACE_TESTS can be set to the number of race test
 # iterations the script should perform.
 
-case "$BACKEND" in
-bdb|hdb)
-       ;;
-*)
+case "$BACKEND" in ldif | null)
+       # LDIF lacks ACL support, NULL lacks cn=config support
        echo "This test does not support the $BACKEND backend"
        exit 0;;
 esac