]> git.sur5r.net Git - openldap/commitdiff
fix a couple of error messages; only test bdb & hdb
authorPierangelo Masarati <ando@openldap.org>
Fri, 16 Dec 2005 14:36:09 +0000 (14:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 16 Dec 2005 14:36:09 +0000 (14:36 +0000)
tests/scripts/test033-glue-syncrepl

index 5dbcbccfb5d650c1da91773fc457925f3990cd4a..5f2bfbc8f7b34bf7de7b9536ca84a1376a32b2c2 100755 (executable)
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
+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
        ;;