]> git.sur5r.net Git - openldap/commitdiff
More for ITS#6404
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 24 Mar 2011 01:22:40 +0000 (01:22 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 24 Mar 2011 01:22:40 +0000 (01:22 +0000)
tests/scripts/test020-proxycache
tests/scripts/test038-retcode

index 373b914ce40c6495204af36262760ef8469ec9fc..763057975b785c0d80899cc9a08e19a06f2eaf74 100755 (executable)
@@ -555,7 +555,7 @@ RC=$?
 if test $RC != 0 ; then
        echo "Refresh failed"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
-       exit 0
+       exit 1
 fi
 
 echo ""
@@ -580,7 +580,7 @@ RC=$?
 if test $RC != 0 ; then
        echo "Refresh failed"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
-       exit 0
+       exit 1
 fi
 
 CNT=`expr $CNT + 1`
@@ -602,7 +602,7 @@ RC=$?
 if test $RC != 0 ; then
        echo "Refresh failed"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
-       exit 0
+       exit 1
 fi
 
 echo ""
@@ -620,7 +620,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l`
 if test $RC != 3 ; then
        echo "ldappasswd didn't update the cache"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
-       exit 0
+       exit 1
 fi
 
 CNT=`expr $CNT + 1`
@@ -641,7 +641,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l`
 if test $RC != 4 ; then
        echo "Bind wasn't answered from cache"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
-       exit 0
+       exit 1
 fi
 test $KILLSERVERS != no && kill -HUP $KILLPIDS
 
index 65119936ea06450442a935c5d9b17dbc513af80e..777de35208661cf599754cdfd9396d1b18c0e455 100755 (executable)
@@ -77,7 +77,7 @@ RC=$?
 if test $RC != 3 ; then
        echo "ldapsearch failed ($RC)!"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
-       exit $RC
+       exit 1
 fi
 
 echo "Testing modify for unwillingToPerform..."
@@ -90,7 +90,7 @@ RC=$?
 if test $RC != 53 ; then
        echo "ldapmodify failed ($RC)!"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
-       exit $RC
+       exit 1
 fi
 
 echo "Testing compare for success after sleep (2 s)..."