3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2004 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 echo "running defines.sh"
17 . $SRCDIR/scripts/defines.sh
19 if test $RWM = rwmno ; then
20 echo "Rewrite/remap overlay not available, test skipped"
28 if test $BACKRELAY = relayno ; then
29 echo "relay backend not available, test skipped"
31 RELAYS="$RELAYS relay"
35 if test $BACKLDAP = ldapno ; then
36 echo "ldap backend not available, test skipped"
42 if test $BACKMETA = metano ; then
43 echo "meta backend not available, test skipped"
49 for RELAY in $RELAYS ; do
50 if test $first = 1 ; then
53 echo ">>>>> waiting 10 seconds for things to exit"
60 mkdir -p $TESTDIR $DBDIR1
62 . $SRCDIR/scripts/relay
65 echo ">>>>> Test succeeded"