]> git.sur5r.net Git - openldap/blobdiff - tests/data/regressions/its4326/its4326
ITS#4326 - Fix regression test so it operates correctly
[openldap] / tests / data / regressions / its4326 / its4326
index 685a811fa515bdb087e55aeb646b4314a93ee599..96ba6f0cb6e3e0d2c42480a0dc65b696018226bc 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2014 The OpenLDAP Foundation.
+## Copyright 1998-2017 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 $BACKLDAP = "ldapno" ; then 
+if test $BACKLDAP = "ldapno" ; then
        echo "LDAP backend not available, test skipped"
        exit 0
-fi 
+fi
+
+if test $BACKEND = "ldap" ; then
+       echo "LDAP backend not valid, test skipped"
+       exit 0
+fi
 
 mkdir -p $TESTDIR $DBDIR1 $DBDIR2