X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Fsql-test901-syncrepl;h=54c4a95eedd173886a2ddc59eadf0fa905f6c0df;hb=fb30dabd14fde68c07622d42e05bdba94ec7842a;hp=8e80f4db19c08f118e8c1b58e6d60b1f068d31d7;hpb=16e42fc78cf5a437dd5556247187e09f012ab494;p=openldap diff --git a/tests/scripts/sql-test901-syncrepl b/tests/scripts/sql-test901-syncrepl index 8e80f4db19..54c4a95eed 100755 --- a/tests/scripts/sql-test901-syncrepl +++ b/tests/scripts/sql-test901-syncrepl @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2005 The OpenLDAP Foundation. +## Copyright 1998-2006 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -150,7 +150,7 @@ fi case ${RDBMS} in # list here the RDBMSes whose mapping allows writes -postgres|ibmdb2) +pgsql|ibmdb2) MANAGERDN="cn=Manager,${BASEDN}" echo "Testing add..." $LDAPMODIFY -v -c -D "$MANAGERDN" -w $PASSWD \ @@ -419,7 +419,7 @@ EOMODS if test $RC = 0 ; then echo "ldapmodify should have failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Modifying a referral (should fail)..." @@ -438,7 +438,7 @@ EOMODS if test $RC = 0 ; then echo "ldapmodify should have failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Renaming a referral (should fail)..." @@ -456,7 +456,7 @@ EOMODS if test $RC = 0 ; then echo "ldapmodify should have failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Deleting a referral (should fail)..." @@ -472,7 +472,7 @@ EOMODS if test $RC = 0 ; then echo "ldapmodify should have failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Adding a referral..." @@ -690,4 +690,3 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS echo ">>>>> Test succeeded" exit 0 -