]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/sql-test901-syncrepl
Sync with HEAD
[openldap] / tests / scripts / sql-test901-syncrepl
index 0ff9835e280f753fee9ffb003ee757bc66c17c0e..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
@@ -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
-