]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test046-dds
Merge remote branch 'origin/mdb.master'
[openldap] / tests / scripts / test046-dds
index d77a459d6ce5c696e7cb7ee8674bd59c71fcf7fc..9cd81b7f730abc388deb5bb43039739c91484aec 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 2005-2009 The OpenLDAP Foundation.
+## Copyright 2005-2012 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
-if test $BACKEND = "ldif" ; then
-        echo "LDIF backend does not support acls, test skipped"
+case $BACKEND in ldif | null)
+       # LDIF lacks ACL support, NULL cannot hold dynamic entries
+        echo "Test does not support $BACKEND backend, test skipped"
         exit 0
-fi
+esac
 
 if test $DDS = ddsno; then 
        echo "Dynamic Directory Services overlay not available, test skipped"