Lines Matching refs:reason
18 ret=0 reason=
20 grep "EDNS: version: 100," dig.out$n > /dev/null || { ret=1; reason="version"; }
21 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
25 ret=0 reason=
28 grep "; OPT=100" dig.out$n > /dev/null || { ret=1; reason="option"; }
29 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
34 ret=0 reason=
36 grep "MBZ: 0x0080," dig.out$n > /dev/null || { ret=1; reason="flags"; }
37 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
42 ret=0 reason=
44 grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; }
45 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
47 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
52 ret=0 reason=
54 grep "status: NOERROR," dig.out$n > /dev/null || { ret=1; reason="status"; }
55 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
56 grep "; OPT=100" dig.out$n > /dev/null && { ret=1; reason="option"; }
57 grep "IN.SOA." dig.out$n > /dev/null || { ret=1; reason="nosoa"; }
58 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
63 ret=0 reason=
65 grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; }
66 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
67 grep "; OPT=100" dig.out$n > /dev/null && { ret=1; reason="option"; }
68 grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reason="soa"; }
69 if [ $ret != 0 ]; then echo "I:failed: $reason"; fi
74 ret=0 reason=
76 grep "status: NOERROR," dig.out$n > /dev/null || { ret=1; reason="status"; }
77 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
78 grep "EDNS:.*MBZ" dig.out$n > /dev/null > /dev/null && { ret=1; reason="mbz"; }
79 grep ".IN.SOA." dig.out$n > /dev/null || { ret=1; reason="nosoa"; }
80 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
85 ret=0 reason=
87 grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; }
88 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
89 grep "EDNS:.*MBZ" dig.out$n > /dev/null > /dev/null && { ret=1; reason="mbz"; }
90 grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reason="soa"; }
91 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
96 ret=0 reason=
98 grep "status: NOERROR," dig.out$n > /dev/null || { ret=1; reason="status"; }
99 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
100 grep "IN.SOA." dig.out$n > /dev/null || { ret=1; reason="soa"; }
101 if [ $ret != 0 ]; then echo "I:failed $reason"; fi