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=$?
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
......
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