ITS#5810: exclude instead of include backends, explain exclusion

This commit is contained in:
Hallvard Furuseth 2009-12-06 14:04:51 +00:00
parent cd8c1faecb
commit 795fcced3d
3 changed files with 6 additions and 14 deletions

View file

@ -13,11 +13,8 @@
## 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

View file

@ -13,11 +13,8 @@
## 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

View file

@ -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