mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 13:49:58 -04:00
Merge branch 'v9_10' of /proj/git/prod/bind9 into v9_10
This commit is contained in:
commit
b686af4e5f
1 changed files with 6 additions and 6 deletions
|
|
@ -58,12 +58,12 @@ echo "I:checking with spf warnings ($n)"
|
|||
ret=0
|
||||
$CHECKZONE example zones/spf.db > test.out1.$n 2>&1 || ret=1
|
||||
$CHECKZONE -T ignore example zones/spf.db > test.out2.$n 2>&1 || ret=1
|
||||
grep "'x.example' found SPF/TXT" test.out1.$n > /dev/null || ret=1
|
||||
grep "'y.example' found SPF/SPF" test.out1.$n > /dev/null || ret=1
|
||||
grep "'example' found SPF/" test.out1.$n > /dev/null && ret=1
|
||||
grep "'x.example' found SPF/" test.out2.$n > /dev/null && ret=1
|
||||
grep "'y.example' found SPF/" test.out2.$n > /dev/null && ret=1
|
||||
grep "'example' found SPF/" test.out2.$n > /dev/null && ret=1
|
||||
grep "'x.example' found type SPF" test.out1.$n > /dev/null && ret=1
|
||||
grep "'y.example' found type SPF" test.out1.$n > /dev/null || ret=1
|
||||
grep "'example' found type SPF" test.out1.$n > /dev/null && ret=1
|
||||
grep "'x.example' found type SPF" test.out2.$n > /dev/null && ret=1
|
||||
grep "'y.example' found type SPF" test.out2.$n > /dev/null && ret=1
|
||||
grep "'example' found type SPF" test.out2.$n > /dev/null && ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
|
|
|||
Loading…
Reference in a new issue