]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test033-glue-syncrepl
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
[openldap] / tests / scripts / test033-glue-syncrepl
index 2bcefa10447fd078913db0a309ce44c036c92138..75b876cf169f45a784648ff475d9874394ff5345 100755 (executable)
@@ -20,9 +20,6 @@ if test $GLUE = glueno; then
        exit 0
 fi 
 
-echo "Test temporarily disabled"
-exit 0
-
 mkdir -p $TESTDIR $DBDIR1A $DBDIR1B $DBDIR1C
 
 echo "Running slapadd to build glued slapd databases..."
@@ -82,7 +79,7 @@ for i in 0 1 2 3 4 5; do
        sleep 5
 done
 
-echo "Waiting 15 seconds for slapds to sync..."
+echo "Waiting 15 seconds for shadow subtrees to sync..."
 sleep 15
 
 for P in $PORT1 $PORT2 ; do
@@ -93,6 +90,7 @@ for P in $PORT1 $PORT2 ; do
 
        if test $RC != 0 ; then
                echo "ldapsearch failed ($RC)!"
+               test $KILLSERVERS != no && kill -HUP $KILLPIDS
                exit $RC
        fi
 
@@ -105,6 +103,7 @@ for P in $PORT1 $PORT2 ; do
 
        if test $? != 0 ; then
                echo "comparison failed - database was not created correctly"
+               test $KILLSERVERS != no && kill -HUP $KILLPIDS
                exit 1
        fi
 done