]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test029-ldapglue
ITS#5086
[openldap] / tests / scripts / test029-ldapglue
index 79976b9ae0b616959431050d6afcdb4c47151550..9618fbf1b94447cc2437fd87370da2c7922e2c35 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2004 The OpenLDAP Foundation.
+## Copyright 1998-2007 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -27,11 +27,6 @@ if test $BACKLDAP = "ldapno" ; then
        exit 0
 fi 
 
-if test $GLUE = "glueno" ; then 
-       echo "glue overlay not available, test skipped"
-       exit 0
-fi 
-
 if test $WITH_SASL = "yes" ; then
        if test $USE_SASL != "no" ; then
                if test $USE_SASL = "yes" ; then
@@ -102,6 +97,8 @@ if test $WAIT != 0 ; then
 fi
 KILLPIDS="$PID1 $PID2 $PID3"
 
+sleep 1
+
 echo "Using ldapsearch to check that slapd is running..."
 for i in 0 1 2 3 4 5; do
        $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
@@ -221,5 +218,7 @@ fi
 test $KILLSERVERS != no && kill -HUP $KILLPIDS
 
 echo ">>>>> Test succeeded"
-exit 0
 
+test $KILLSERVERS != no && wait
+
+exit 0