From: Hallvard Furuseth Date: Sun, 6 Dec 2009 14:04:51 +0000 (+0000) Subject: ITS#5810: exclude instead of include backends, explain exclusion X-Git-Tag: ACLCHECK_0~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=795fcced3d9e0205228badc6774d3c93a77c40c7;p=openldap ITS#5810: exclude instead of include backends, explain exclusion --- diff --git a/tests/scripts/test006-acls b/tests/scripts/test006-acls index ce33cc8237..3b6523cea6 100755 --- a/tests/scripts/test006-acls +++ b/tests/scripts/test006-acls @@ -13,11 +13,8 @@ ## top-level directory of the distribution or, alternatively, at ## . -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 diff --git a/tests/scripts/test041-aci b/tests/scripts/test041-aci index 88b6234f26..f78a4c1be6 100755 --- a/tests/scripts/test041-aci +++ b/tests/scripts/test041-aci @@ -13,11 +13,8 @@ ## top-level directory of the distribution or, alternatively, at ## . -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 diff --git a/tests/scripts/test058-syncrepl-asymmetric b/tests/scripts/test058-syncrepl-asymmetric index 51c1295c3d..86e62ca992 100755 --- a/tests/scripts/test058-syncrepl-asymmetric +++ b/tests/scripts/test058-syncrepl-asymmetric @@ -111,10 +111,8 @@ # 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