]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update spf check
authorMark Andrews <marka@isc.org>
Tue, 10 Jun 2014 02:28:33 +0000 (12:28 +1000)
committerMark Andrews <marka@isc.org>
Tue, 10 Jun 2014 02:28:56 +0000 (12:28 +1000)
(cherry picked from commit 32a1fd3dd27277717003d45af37f382956bb6783)

bin/tests/system/checkzone/tests.sh

index c9371d209db7de35d02a707b75a8a4201b9c762d..e8b1bbad7c3b08b1e9c7c4abd288f7d70a2eb9a9 100644 (file)
@@ -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`