parallelize most system tests
This commit is contained in:
@@ -12,7 +12,7 @@ SYSTEMTESTTOP=..
|
||||
n=1
|
||||
status=0
|
||||
|
||||
echo "I:checking that SPF warnings have been correctly generated ($n)"
|
||||
echo_i "checking that SPF warnings have been correctly generated ($n)"
|
||||
ret=0
|
||||
|
||||
grep "zone spf/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1
|
||||
@@ -27,8 +27,8 @@ grep "zone nowarn/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1
|
||||
grep "'y.nowarn' found type SPF" ns1/named.run > /dev/null && ret=1
|
||||
grep "'nowarn' found type SPF" ns1/named.run > /dev/null && ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I:exit status: $status"
|
||||
echo_i "exit status: $status"
|
||||
[ $status -eq 0 ] || exit 1
|
||||
|
||||
Reference in New Issue
Block a user