Commit 3635d8f9 authored by Mark Andrews's avatar Mark Andrews
Browse files

do not overflow exit status. [RT #42643]

parent ecff557e
...@@ -181,4 +181,4 @@ $DIG example. soa @10.53.0.2 +subnet="192.0.2.128/32" -p 5300 > dig.out.${t} ...@@ -181,4 +181,4 @@ $DIG example. soa @10.53.0.2 +subnet="192.0.2.128/32" -p 5300 > dig.out.${t}
grep "CLIENT-SUBNET.*192.0.2.128/32/24" dig.out.${t} > /dev/null || { echo "I:test $t failed" ; status=1; } grep "CLIENT-SUBNET.*192.0.2.128/32/24" dig.out.${t} > /dev/null || { echo "I:test $t failed" ; status=1; }
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -139,4 +139,5 @@ if [ $ret -eq 1 ] ; then ...@@ -139,4 +139,5 @@ if [ $ret -eq 1 ] ; then
echo "I: failed"; status=1 echo "I: failed"; status=1
fi fi
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -381,4 +381,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -381,4 +381,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -630,5 +630,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -630,5 +630,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -1217,4 +1217,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -1217,4 +1217,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -123,4 +123,5 @@ $DIG +norec +nsid foo @10.53.0.3 -p 5300 > dig.out.ns3.$n ...@@ -123,4 +123,5 @@ $DIG +norec +nsid foo @10.53.0.3 -p 5300 > dig.out.ns3.$n
grep "^; NSID: .* (\"this.is.a.test.of.server-id\")$" dig.out.ns3.$n > /dev/null || ret=1 grep "^; NSID: .* (\"this.is.a.test.of.server-id\")$" dig.out.ns3.$n > /dev/null || ret=1
if [ $ret != 0 ] ; then echo I:failed; status=`expr $status + $ret`; fi if [ $ret != 0 ] ; then echo I:failed; status=`expr $status + $ret`; fi
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -225,4 +225,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -225,4 +225,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -137,5 +137,7 @@ echo "I:check A owner case is transfered to slave ($n)" ...@@ -137,5 +137,7 @@ echo "I:check A owner case is transfered to slave ($n)"
ret=0 ret=0
$DIG axfr dynamic @10.53.0.2 -p 5300 > dig.ns2.test$n $DIG axfr dynamic @10.53.0.2 -p 5300 > dig.ns2.test$n
$PERL ../digcomp.pl dig.ns2.test$n postns1.good || ret=1 $PERL ../digcomp.pl dig.ns2.test$n postns1.good || ret=1
status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -373,4 +373,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -373,4 +373,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -293,4 +293,4 @@ if [ $ret != 0 ]; then echo "I:failed"; ret=1; fi ...@@ -293,4 +293,4 @@ if [ $ret != 0 ]; then echo "I:failed"; ret=1; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -176,4 +176,4 @@ status=`expr $status + $ret` ...@@ -176,4 +176,4 @@ status=`expr $status + $ret`
if [ $status = 0 ]; then $SHELL clean.sh; fi if [ $status = 0 ]; then $SHELL clean.sh; fi
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -151,4 +151,5 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -151,4 +151,5 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
n=`expr $n + 1` n=`expr $n + 1`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -171,4 +171,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -171,4 +171,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -137,4 +137,4 @@ status=`expr $status + $ret` ...@@ -137,4 +137,4 @@ status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -81,4 +81,4 @@ for dir in [0-9][0-9]-*; do ...@@ -81,4 +81,4 @@ for dir in [0-9][0-9]-*; do
done done
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -57,4 +57,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -57,4 +57,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -68,4 +68,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -68,4 +68,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
rm -f dig.out.test* rm -f dig.out.*test*
rm -f delv.out.test* rm -f delv.out.test*
rm -f */named.memstats rm -f */named.memstats
rm -f */named.run rm -f */named.run
......
...@@ -263,7 +263,7 @@ if [ -x ${DIG} ] ; then ...@@ -263,7 +263,7 @@ if [ -x ${DIG} ] ; then
echo "I:checking dig +subnet with various prefix lengths ($n)" echo "I:checking dig +subnet with various prefix lengths ($n)"
ret=0 ret=0
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24; do for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24; do
$DIG $DIGOPTS +tcp @10.53.0.2 +subnet=255.255.255.255/$i A a.example > dig.out.test$n 2>&1 || ret=1 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=255.255.255.255/$i A a.example > dig.out.$i.test$n 2>&1 || ret=1
case $i in case $i in
1|9|17) octet=128 ;; 1|9|17) octet=128 ;;
2|10|18) octet=192 ;; 2|10|18) octet=192 ;;
...@@ -279,8 +279,8 @@ if [ -x ${DIG} ] ; then ...@@ -279,8 +279,8 @@ if [ -x ${DIG} ] ; then
9|10|11|12|13|14|15|16) addr="255.${octet}.0.0";; 9|10|11|12|13|14|15|16) addr="255.${octet}.0.0";;
17|18|19|20|21|22|23|24) addr="255.255.${octet}.0" ;; 17|18|19|20|21|22|23|24) addr="255.255.${octet}.0" ;;
esac esac
grep "FORMERR" < dig.out.test.$p.$n > /dev/null && ret=1 grep "FORMERR" < dig.out.$i.test$n > /dev/null && ret=1
grep "CLIENT-SUBNET: $addr/$i/0" < dig.out.test$n > /dev/null || ret=1 grep "CLIENT-SUBNET: $addr/$i/0" < dig.out.$i.test$n > /dev/null || ret=1
done done
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
...@@ -510,7 +510,8 @@ if [ -x ${DELV} ] ; then ...@@ -510,7 +510,8 @@ if [ -x ${DELV} ] ; then
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
else else
echo "$DELV is needed, so skipping these delv tests" echo "$DELV is needed, so skipping these delv tests"
fi fi
...@@ -59,4 +59,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -59,4 +59,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -62,4 +62,5 @@ n=`expr $n + 1` ...@@ -62,4 +62,5 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -79,4 +79,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -79,4 +79,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -202,4 +202,5 @@ lookups=`grep "lookup #.*\.not\.there" ns1/named.run | wc -l` ...@@ -202,4 +202,5 @@ lookups=`grep "lookup #.*\.not\.there" ns1/named.run | wc -l`
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -65,4 +65,4 @@ status=`expr $status + $ret` ...@@ -65,4 +65,4 @@ status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -1370,4 +1370,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -1370,4 +1370,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -3295,4 +3295,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -3295,4 +3295,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -174,4 +174,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -174,4 +174,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -38,4 +38,6 @@ do ...@@ -38,4 +38,6 @@ do
done done
test $ret = 0 || { echo "I:failed"; status=`expr $status + $ret`; } test $ret = 0 || { echo "I:failed"; status=`expr $status + $ret`; }
done done
exit $status
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -56,4 +56,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -56,4 +56,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -147,4 +147,5 @@ status=`expr $status + $ret` ...@@ -147,4 +147,5 @@ status=`expr $status + $ret`
test_del test6.ipv6.example.nil. AAAA || ret=1 test_del test6.ipv6.example.nil. AAAA || ret=1
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -39,4 +39,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -39,4 +39,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -111,4 +111,4 @@ status=`expr $status + $ret` ...@@ -111,4 +111,4 @@ status=`expr $status + $ret`
n=`expr $n + 1` n=`expr $n + 1`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -40,4 +40,5 @@ grep "status: REFUSED" dig.out.test$n > /dev/null || ret=1 ...@@ -40,4 +40,5 @@ grep "status: REFUSED" dig.out.test$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -183,4 +183,4 @@ if [ $ret != 0 ]; then echo "I: failed"; fi ...@@ -183,4 +183,4 @@ if [ $ret != 0 ]; then echo "I: failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -1381,4 +1381,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -1381,4 +1381,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -46,4 +46,4 @@ fi ...@@ -46,4 +46,4 @@ fi
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -138,4 +138,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -138,4 +138,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -485,4 +485,4 @@ $CHECKCONF options.conf || ret=1 ...@@ -485,4 +485,4 @@ $CHECKCONF options.conf || ret=1
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -43,4 +43,4 @@ $DIG +norec @10.53.0.1 -p 5300 example.net. a > dig.out || status=1 ...@@ -43,4 +43,4 @@ $DIG +norec @10.53.0.1 -p 5300 example.net. a > dig.out || status=1
$PERL ../digcomp.pl noglue.good dig.out || status=1 $PERL ../digcomp.pl noglue.good dig.out || status=1
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -39,4 +39,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -39,4 +39,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -979,4 +979,5 @@ serial=`awk '$4 == "SOA" { print $7 }' dig.out.ns2.post.test$n` ...@@ -979,4 +979,5 @@ serial=`awk '$4 == "SOA" { print $7 }' dig.out.ns2.post.test$n`
if [ $ret != 0 ]; then echo "I:failed"; fi if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
exit $status echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
...@@ -266,4 +266,4 @@ if [ ${ret} != 0 ]; then ...@@ -266,4 +266,4 @@ if [ ${ret} != 0 ]; then
fi fi
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -103,4 +103,4 @@ status=`expr $status + $ret` ...@@ -103,4 +103,4 @@ status=`expr $status + $ret`
n=`expr $n + 1` n=`expr $n + 1`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -169,4 +169,4 @@ fi ...@@ -169,4 +169,4 @@ fi
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -57,4 +57,4 @@ grep 'flags: .*tc.*;' dig.out.exceed > /dev/null || { ...@@ -57,4 +57,4 @@ grep 'flags: .*tc.*;' dig.out.exceed > /dev/null || {
} }
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -268,4 +268,4 @@ else ...@@ -268,4 +268,4 @@ else
fi fi
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -71,4 +71,4 @@ fi ...@@ -71,4 +71,4 @@ fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -63,4 +63,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -63,4 +63,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -290,4 +290,4 @@ grep 'next resign' rndc.out > /dev/null 2>&1 || ret=1 ...@@ -290,4 +290,4 @@ grep 'next resign' rndc.out > /dev/null 2>&1 || ret=1
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -192,4 +192,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -192,4 +192,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -543,4 +543,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -543,4 +543,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -48,4 +48,4 @@ if [ $val -le 1 ]; then ...@@ -48,4 +48,4 @@ if [ $val -le 1 ]; then
fi; fi;
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -213,4 +213,4 @@ grep "test string" dig.out.c.ns5.test$n > /dev/null || ret=1 ...@@ -213,4 +213,4 @@ grep "test string" dig.out.c.ns5.test$n > /dev/null || ret=1
status=`expr $ret + $status` status=`expr $ret + $status`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -32,5 +32,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -32,5 +32,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -657,4 +657,4 @@ grep "bad name" nsupdate.out4-$n > /dev/null && ret=1 ...@@ -657,4 +657,4 @@ grep "bad name" nsupdate.out4-$n > /dev/null && ret=1
[ $ret = 0 ] || { echo I:failed; status=1; } [ $ret = 0 ] || { echo I:failed; status=1; }
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -201,4 +201,4 @@ test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" ...@@ -201,4 +201,4 @@ test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
status=`expr $status + $ret` status=`expr $status + $ret`
echo "I:exit status: $status" echo "I:exit status: $status"
exit $status [ $status -eq 0 ] || exit 1
...@@ -60,4 +60,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi ...@@ -60,4 +60,4 @@ if [ $ret != 0 ]; then echo "I:failed"; fi