Commit a1f32047 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

More ITS#6404 fix test020-proxycache exit codes

parent 3c04fb9d
...@@ -555,7 +555,7 @@ RC=$? ...@@ -555,7 +555,7 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "Refresh failed" echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
exit 0 exit 1
fi fi
echo "" echo ""
...@@ -580,7 +580,7 @@ RC=$? ...@@ -580,7 +580,7 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "Refresh failed" echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
exit 0 exit 1
fi fi
CNT=`expr $CNT + 1` CNT=`expr $CNT + 1`
...@@ -602,7 +602,7 @@ RC=$? ...@@ -602,7 +602,7 @@ RC=$?
if test $RC != 0 ; then if test $RC != 0 ; then
echo "Refresh failed" echo "Refresh failed"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
exit 0 exit 1
fi fi
echo "" echo ""
...@@ -620,7 +620,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l` ...@@ -620,7 +620,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l`
if test $RC != 3 ; then if test $RC != 3 ; then
echo "ldappasswd didn't update the cache" echo "ldappasswd didn't update the cache"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
exit 0 exit 1
fi fi
CNT=`expr $CNT + 1` CNT=`expr $CNT + 1`
...@@ -641,7 +641,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l` ...@@ -641,7 +641,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l`
if test $RC != 4 ; then if test $RC != 4 ; then
echo "Bind wasn't answered from cache" echo "Bind wasn't answered from cache"
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
exit 0 exit 1
fi fi
test $KILLSERVERS != no && kill -HUP $KILLPIDS test $KILLSERVERS != no && kill -HUP $KILLPIDS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment