X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Ftest019-syncreplication-cascade;h=fce1baac19a172dc451ebcbb30ca6f407b5ad360;hb=d8fbe2d32cc5885698215234758d45610d132411;hp=2b26862b8607d8784c317fd26b7f906d0c2077d5;hpb=53a45a04fe813a9ab4f700fa1feb5259410bd11a;p=openldap diff --git a/tests/scripts/test019-syncreplication-cascade b/tests/scripts/test019-syncreplication-cascade index 2b26862b86..fce1baac19 100755 --- a/tests/scripts/test019-syncreplication-cascade +++ b/tests/scripts/test019-syncreplication-cascade @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2004 The OpenLDAP Foundation. +## Copyright 1998-2005 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -21,6 +21,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 $TESTDIR $DBDIR1 $DBDIR2 $DBDIR3 $DBDIR4 $DBDIR5 $DBDIR6 # @@ -80,7 +85,7 @@ if test $WAIT != 0 ; then fi KILLPIDS="$KILLPIDS $SLAVEPID" -echo "Using ldapsearch to check that R1 slave slapd(pid=$SLAVEPID) is running..." +echo "Using ldapsearch to check that R1 slave slapd (pid=$SLAVEPID) is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT2 \ 'objectclass=*' > /dev/null 2>&1 @@ -108,7 +113,7 @@ if test $WAIT != 0 ; then fi KILLPIDS="$KILLPIDS $SLAVEPID" -echo "Using ldapsearch to check that R2 slave slapd(pid=$SLAVEPID) is running..." +echo "Using ldapsearch to check that R2 slave slapd (pid=$SLAVEPID) is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT3 \ 'objectclass=*' > /dev/null 2>&1 @@ -136,7 +141,7 @@ if test $WAIT != 0 ; then fi KILLPIDS="$KILLPIDS $SLAVEPID" -echo "Using ldapsearch to check that P1 slave slapd(pid=$SLAVEPID) is running..." +echo "Using ldapsearch to check that P1 slave slapd (pid=$SLAVEPID) is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT4 \ 'objectclass=*' > /dev/null 2>&1 @@ -164,7 +169,7 @@ if test $WAIT != 0 ; then fi KILLPIDS="$KILLPIDS $SLAVEPID" -echo "Using ldapsearch to check that P2 slave slapd(pid=$SLAVEPID) is running..." +echo "Using ldapsearch to check that P2 slave slapd (pid=$SLAVEPID) is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT5 \ 'objectclass=*' > /dev/null 2>&1 @@ -192,7 +197,7 @@ if test $WAIT != 0 ; then fi KILLPIDS="$KILLPIDS $SLAVEPID" -echo "Using ldapsearch to check that P3 slave slapd(pid=$SLAVEPID) is running..." +echo "Using ldapsearch to check that P3 slave slapd (pid=$SLAVEPID) is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT6 \ 'objectclass=*' > /dev/null 2>&1