]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test033-glue-syncrepl
Fix prev commit, better test for multiple URI matches
[openldap] / tests / scripts / test033-glue-syncrepl
index b8d57aeeb2b8fd86d6165f77c9f391f1e5033976..613a9ee7e4568267f320ea1cfdfd736c5b28b690 100755 (executable)
@@ -20,6 +20,11 @@ fi
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
+if test $SYNCPROV = syncprovno; then 
+       echo "Syncrepl provider overlay not available, test skipped"
+       exit 0
+fi 
+
 mkdir -p $TESTDIR $DBDIR1A $DBDIR1B $DBDIR1C $DBDIR2A $DBDIR2B
 
 echo "Running slapadd to build glued slapd databases..."
@@ -167,6 +172,10 @@ if test $RC != 0 ; then
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
        exit $RC
 fi
+
+# This usually propagates immediately
+sleep 1
+
 $LDAPSEARCH -H $URI2 -b "$BABSDN" > $TESTOUT 2>&1
 RC=$?
 if test $RC = 0 ; then