]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/sql-test901-syncrepl
cleanup
[openldap] / tests / scripts / sql-test901-syncrepl
index 8e80f4db19c08f118e8c1b58e6d60b1f068d31d7..54c4a95eedd173886a2ddc59eadf0fa905f6c0df 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## 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
-