From d71bef1a470c9fc4ee772bc10e2855948adb4fac Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 16 Dec 2005 14:36:09 +0000 Subject: [PATCH] fix a couple of error messages; only test bdb & hdb --- tests/scripts/test033-glue-syncrepl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 ;; -- 2.39.5