mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
fix ITS#4297 (there shouldn't be any more)
This commit is contained in:
parent
83929308a5
commit
e43eae8d36
1 changed files with 38 additions and 18 deletions
|
|
@ -39,20 +39,28 @@ if test "x$RELAYS" = "x" ; then
|
|||
if test $BACKLDAP = ldapno ; then
|
||||
echo "ldap backend not available, test skipped"
|
||||
else
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}ldap"
|
||||
if test $THREADS = "threadsno" ; then
|
||||
echo "Need threads support, test skipped"
|
||||
else
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}ldap"
|
||||
fi
|
||||
fi
|
||||
|
||||
# back-meta
|
||||
if test $BACKMETA = metano ; then
|
||||
echo "meta backend not available, test skipped"
|
||||
else
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
if test $THREADS = "threadsno" ; then
|
||||
echo "Need threads support, test skipped"
|
||||
else
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}meta"
|
||||
fi
|
||||
RELAYS="${RELAYS}meta"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
@ -67,19 +75,31 @@ echo ""
|
|||
|
||||
first=1
|
||||
for RELAY in $RELAYS ; do
|
||||
if test $first = 1 ; then
|
||||
first=0
|
||||
else
|
||||
echo ">>>>> waiting 10 seconds for things to exit"
|
||||
sleep 10
|
||||
echo ""
|
||||
|
||||
rm -rf $TESTDIR
|
||||
RUNIT=yes
|
||||
if test $THREADS = "threadsno" ; then
|
||||
case $RELAY in
|
||||
ldap|meta)
|
||||
echo "Need threads support, test skipped"
|
||||
RUNIT=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if test $RUNIT = yes ; then
|
||||
if test $first = 1 ; then
|
||||
first=0
|
||||
else
|
||||
echo ">>>>> waiting 10 seconds for things to exit"
|
||||
sleep 10
|
||||
echo ""
|
||||
|
||||
rm -rf $TESTDIR
|
||||
fi
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
. $SRCDIR/scripts/relay
|
||||
mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
. $SRCDIR/scripts/relay
|
||||
fi
|
||||
done
|
||||
|
||||
echo ">>>>> Test succeeded"
|
||||
|
|
|
|||
Loading…
Reference in a new issue