Lines Matching refs:ret

26 ret=0
27 $CHECKDS ok.example > checkds.out.$n 2>&1 || ret=1
28 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
29 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
31 if [ $ret != 0 ]; then echo "I:failed"; fi
32 status=`expr $status + $ret`
35 ret=0
36 $CHECKDS -f ok.example.dnskey.db ok.example > checkds.out.$n || ret=1
37 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
38 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
40 if [ $ret != 0 ]; then echo "I:failed"; fi
41 status=`expr $status + $ret`
44 ret=0
45 $CHECKDS -l dlv.example ok.example > checkds.out.$n || ret=1
46 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
47 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
49 if [ $ret != 0 ]; then echo "I:failed"; fi
50 status=`expr $status + $ret`
53 ret=0
54 $CHECKDS -l dlv.example -f ok.example.dnskey.db ok.example > checkds.out.$n || ret=1
55 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
56 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
58 if [ $ret != 0 ]; then echo "I:failed"; fi
59 status=`expr $status + $ret`
62 ret=0
63 $CHECKDS wrong.example > checkds.out.$n || ret=1
64 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
65 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
67 if [ $ret != 0 ]; then echo "I:failed"; fi
68 status=`expr $status + $ret`
71 ret=0
72 $CHECKDS -f wrong.example.dnskey.db wrong.example > checkds.out.$n || ret=1
73 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
74 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
76 if [ $ret != 0 ]; then echo "I:failed"; fi
77 status=`expr $status + $ret`
80 ret=0
81 $CHECKDS -l dlv.example wrong.example > checkds.out.$n || ret=1
82 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
83 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
85 if [ $ret != 0 ]; then echo "I:failed"; fi
86 status=`expr $status + $ret`
89 ret=0
90 $CHECKDS -l dlv.example -f wrong.example.dnskey.db wrong.example > checkds.out.$n || ret=1
91 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
92 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
94 if [ $ret != 0 ]; then echo "I:failed"; fi
95 status=`expr $status + $ret`
99 ret=0
100 $CHECKDS missing.example > checkds.out.$n || ret=1
101 grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
102 grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
103 grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
104 grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
106 if [ $ret != 0 ]; then echo "I:failed"; fi
107 status=`expr $status + $ret`
110 ret=0
111 $CHECKDS -f missing.example.dnskey.db missing.example > checkds.out.$n || ret=1
112 grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
113 grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
114 grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
115 grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
117 if [ $ret != 0 ]; then echo "I:failed"; fi
118 status=`expr $status + $ret`
121 ret=0
122 $CHECKDS -l dlv.example missing.example > checkds.out.$n || ret=1
123 grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
124 grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
125 grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
126 grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
128 if [ $ret != 0 ]; then echo "I:failed"; fi
129 status=`expr $status + $ret`
132 ret=0
133 $CHECKDS -l dlv.example -f missing.example.dnskey.db missing.example > checkds.out.$n || ret=1
134 grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
135 grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
136 grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
137 grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
139 if [ $ret != 0 ]; then echo "I:failed"; fi
140 status=`expr $status + $ret`
143 ret=0
144 $CHECKDS none.example > checkds.out.$n && ret=1
145 grep 'No DS' checkds.out.$n > /dev/null 2>&1 || ret=1
147 if [ $ret != 0 ]; then echo "I:failed"; fi
148 status=`expr $status + $ret`
151 ret=0
152 $CHECKDS -f none.example.dnskey.db none.example > checkds.out.$n && ret=1
153 grep 'No DS' checkds.out.$n > /dev/null 2>&1 || ret=1
155 if [ $ret != 0 ]; then echo "I:failed"; fi
156 status=`expr $status + $ret`
159 ret=0
160 $CHECKDS -l dlv.example none.example > checkds.out.$n && ret=1
161 grep 'No DLV' checkds.out.$n > /dev/null 2>&1 || ret=1
163 if [ $ret != 0 ]; then echo "I:failed"; fi
164 status=`expr $status + $ret`
167 ret=0
168 $CHECKDS -l dlv.example -f none.example.dnskey.db none.example > checkds.out.$n && ret=1
169 grep 'No DLV' checkds.out.$n > /dev/null 2>&1 || ret=1
171 if [ $ret != 0 ]; then echo "I:failed"; fi
172 status=`expr $status + $ret`