From: Pierangelo Masarati Date: Fri, 16 Dec 2005 14:36:09 +0000 (+0000) Subject: fix a couple of error messages; only test bdb & hdb X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~572 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d71bef1a470c9fc4ee772bc10e2855948adb4fac;p=openldap fix a couple of error messages; only test bdb & hdb --- diff --git a/tests/scripts/test033-glue-syncrepl b/tests/scripts/test033-glue-syncrepl index 5dbcbccfb5..5f2bfbc8f7 100755 --- a/tests/scripts/test033-glue-syncrepl +++ b/tests/scripts/test033-glue-syncrepl @@ -12,6 +12,11 @@ ## top-level directory of the distribution or, alternatively, at ## . +if test "$BACKEND" != "bdb" && test "$BACKEND" != "hdb" ; then + echo "Test does not support $BACKEND" + exit 0 +fi + echo "running defines.sh" . $SRCDIR/scripts/defines.sh @@ -90,7 +95,7 @@ for M in 1 2 ; do # or referrals ;; *) - echo "ldapadd should have failed ($RC)!" + echo "ldapadd failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC ;; @@ -117,7 +122,7 @@ case $RC in # or referrals ;; *) - echo "ldapadd should have failed ($RC)!" + echo "ldapadd failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC ;; @@ -143,7 +148,7 @@ case $RC in # or referrals ;; *) - echo "ldapadd should have failed ($RC)!" + echo "ldapadd failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC ;;