]> gitweb.michael.orlitzky.com - hath.git/blob - test/shell/match-class-c.test
hath.cabal: bump to v0.5.1.
[hath.git] / test / shell / match-class-c.test
1 # We should match every address in this class C.
2 # (input/output generated with `hath listed`)
3 grep -Po $(echo 192.168.0.0/24 | dist/build/hath/hath)
4 <<<
5 192.168.0.0
6 192.168.0.1
7 192.168.0.2
8 192.168.0.3
9 192.168.0.4
10 192.168.0.5
11 192.168.0.6
12 192.168.0.7
13 192.168.0.8
14 192.168.0.9
15 192.168.0.10
16 192.168.0.11
17 192.168.0.12
18 192.168.0.13
19 192.168.0.14
20 192.168.0.15
21 192.168.0.16
22 192.168.0.17
23 192.168.0.18
24 192.168.0.19
25 192.168.0.20
26 192.168.0.21
27 192.168.0.22
28 192.168.0.23
29 192.168.0.24
30 192.168.0.25
31 192.168.0.26
32 192.168.0.27
33 192.168.0.28
34 192.168.0.29
35 192.168.0.30
36 192.168.0.31
37 192.168.0.32
38 192.168.0.33
39 192.168.0.34
40 192.168.0.35
41 192.168.0.36
42 192.168.0.37
43 192.168.0.38
44 192.168.0.39
45 192.168.0.40
46 192.168.0.41
47 192.168.0.42
48 192.168.0.43
49 192.168.0.44
50 192.168.0.45
51 192.168.0.46
52 192.168.0.47
53 192.168.0.48
54 192.168.0.49
55 192.168.0.50
56 192.168.0.51
57 192.168.0.52
58 192.168.0.53
59 192.168.0.54
60 192.168.0.55
61 192.168.0.56
62 192.168.0.57
63 192.168.0.58
64 192.168.0.59
65 192.168.0.60
66 192.168.0.61
67 192.168.0.62
68 192.168.0.63
69 192.168.0.64
70 192.168.0.65
71 192.168.0.66
72 192.168.0.67
73 192.168.0.68
74 192.168.0.69
75 192.168.0.70
76 192.168.0.71
77 192.168.0.72
78 192.168.0.73
79 192.168.0.74
80 192.168.0.75
81 192.168.0.76
82 192.168.0.77
83 192.168.0.78
84 192.168.0.79
85 192.168.0.80
86 192.168.0.81
87 192.168.0.82
88 192.168.0.83
89 192.168.0.84
90 192.168.0.85
91 192.168.0.86
92 192.168.0.87
93 192.168.0.88
94 192.168.0.89
95 192.168.0.90
96 192.168.0.91
97 192.168.0.92
98 192.168.0.93
99 192.168.0.94
100 192.168.0.95
101 192.168.0.96
102 192.168.0.97
103 192.168.0.98
104 192.168.0.99
105 192.168.0.100
106 192.168.0.101
107 192.168.0.102
108 192.168.0.103
109 192.168.0.104
110 192.168.0.105
111 192.168.0.106
112 192.168.0.107
113 192.168.0.108
114 192.168.0.109
115 192.168.0.110
116 192.168.0.111
117 192.168.0.112
118 192.168.0.113
119 192.168.0.114
120 192.168.0.115
121 192.168.0.116
122 192.168.0.117
123 192.168.0.118
124 192.168.0.119
125 192.168.0.120
126 192.168.0.121
127 192.168.0.122
128 192.168.0.123
129 192.168.0.124
130 192.168.0.125
131 192.168.0.126
132 192.168.0.127
133 192.168.0.128
134 192.168.0.129
135 192.168.0.130
136 192.168.0.131
137 192.168.0.132
138 192.168.0.133
139 192.168.0.134
140 192.168.0.135
141 192.168.0.136
142 192.168.0.137
143 192.168.0.138
144 192.168.0.139
145 192.168.0.140
146 192.168.0.141
147 192.168.0.142
148 192.168.0.143
149 192.168.0.144
150 192.168.0.145
151 192.168.0.146
152 192.168.0.147
153 192.168.0.148
154 192.168.0.149
155 192.168.0.150
156 192.168.0.151
157 192.168.0.152
158 192.168.0.153
159 192.168.0.154
160 192.168.0.155
161 192.168.0.156
162 192.168.0.157
163 192.168.0.158
164 192.168.0.159
165 192.168.0.160
166 192.168.0.161
167 192.168.0.162
168 192.168.0.163
169 192.168.0.164
170 192.168.0.165
171 192.168.0.166
172 192.168.0.167
173 192.168.0.168
174 192.168.0.169
175 192.168.0.170
176 192.168.0.171
177 192.168.0.172
178 192.168.0.173
179 192.168.0.174
180 192.168.0.175
181 192.168.0.176
182 192.168.0.177
183 192.168.0.178
184 192.168.0.179
185 192.168.0.180
186 192.168.0.181
187 192.168.0.182
188 192.168.0.183
189 192.168.0.184
190 192.168.0.185
191 192.168.0.186
192 192.168.0.187
193 192.168.0.188
194 192.168.0.189
195 192.168.0.190
196 192.168.0.191
197 192.168.0.192
198 192.168.0.193
199 192.168.0.194
200 192.168.0.195
201 192.168.0.196
202 192.168.0.197
203 192.168.0.198
204 192.168.0.199
205 192.168.0.200
206 192.168.0.201
207 192.168.0.202
208 192.168.0.203
209 192.168.0.204
210 192.168.0.205
211 192.168.0.206
212 192.168.0.207
213 192.168.0.208
214 192.168.0.209
215 192.168.0.210
216 192.168.0.211
217 192.168.0.212
218 192.168.0.213
219 192.168.0.214
220 192.168.0.215
221 192.168.0.216
222 192.168.0.217
223 192.168.0.218
224 192.168.0.219
225 192.168.0.220
226 192.168.0.221
227 192.168.0.222
228 192.168.0.223
229 192.168.0.224
230 192.168.0.225
231 192.168.0.226
232 192.168.0.227
233 192.168.0.228
234 192.168.0.229
235 192.168.0.230
236 192.168.0.231
237 192.168.0.232
238 192.168.0.233
239 192.168.0.234
240 192.168.0.235
241 192.168.0.236
242 192.168.0.237
243 192.168.0.238
244 192.168.0.239
245 192.168.0.240
246 192.168.0.241
247 192.168.0.242
248 192.168.0.243
249 192.168.0.244
250 192.168.0.245
251 192.168.0.246
252 192.168.0.247
253 192.168.0.248
254 192.168.0.249
255 192.168.0.250
256 192.168.0.251
257 192.168.0.252
258 192.168.0.253
259 192.168.0.254
260 192.168.0.255
261 >>>
262 192.168.0.0
263 192.168.0.1
264 192.168.0.2
265 192.168.0.3
266 192.168.0.4
267 192.168.0.5
268 192.168.0.6
269 192.168.0.7
270 192.168.0.8
271 192.168.0.9
272 192.168.0.10
273 192.168.0.11
274 192.168.0.12
275 192.168.0.13
276 192.168.0.14
277 192.168.0.15
278 192.168.0.16
279 192.168.0.17
280 192.168.0.18
281 192.168.0.19
282 192.168.0.20
283 192.168.0.21
284 192.168.0.22
285 192.168.0.23
286 192.168.0.24
287 192.168.0.25
288 192.168.0.26
289 192.168.0.27
290 192.168.0.28
291 192.168.0.29
292 192.168.0.30
293 192.168.0.31
294 192.168.0.32
295 192.168.0.33
296 192.168.0.34
297 192.168.0.35
298 192.168.0.36
299 192.168.0.37
300 192.168.0.38
301 192.168.0.39
302 192.168.0.40
303 192.168.0.41
304 192.168.0.42
305 192.168.0.43
306 192.168.0.44
307 192.168.0.45
308 192.168.0.46
309 192.168.0.47
310 192.168.0.48
311 192.168.0.49
312 192.168.0.50
313 192.168.0.51
314 192.168.0.52
315 192.168.0.53
316 192.168.0.54
317 192.168.0.55
318 192.168.0.56
319 192.168.0.57
320 192.168.0.58
321 192.168.0.59
322 192.168.0.60
323 192.168.0.61
324 192.168.0.62
325 192.168.0.63
326 192.168.0.64
327 192.168.0.65
328 192.168.0.66
329 192.168.0.67
330 192.168.0.68
331 192.168.0.69
332 192.168.0.70
333 192.168.0.71
334 192.168.0.72
335 192.168.0.73
336 192.168.0.74
337 192.168.0.75
338 192.168.0.76
339 192.168.0.77
340 192.168.0.78
341 192.168.0.79
342 192.168.0.80
343 192.168.0.81
344 192.168.0.82
345 192.168.0.83
346 192.168.0.84
347 192.168.0.85
348 192.168.0.86
349 192.168.0.87
350 192.168.0.88
351 192.168.0.89
352 192.168.0.90
353 192.168.0.91
354 192.168.0.92
355 192.168.0.93
356 192.168.0.94
357 192.168.0.95
358 192.168.0.96
359 192.168.0.97
360 192.168.0.98
361 192.168.0.99
362 192.168.0.100
363 192.168.0.101
364 192.168.0.102
365 192.168.0.103
366 192.168.0.104
367 192.168.0.105
368 192.168.0.106
369 192.168.0.107
370 192.168.0.108
371 192.168.0.109
372 192.168.0.110
373 192.168.0.111
374 192.168.0.112
375 192.168.0.113
376 192.168.0.114
377 192.168.0.115
378 192.168.0.116
379 192.168.0.117
380 192.168.0.118
381 192.168.0.119
382 192.168.0.120
383 192.168.0.121
384 192.168.0.122
385 192.168.0.123
386 192.168.0.124
387 192.168.0.125
388 192.168.0.126
389 192.168.0.127
390 192.168.0.128
391 192.168.0.129
392 192.168.0.130
393 192.168.0.131
394 192.168.0.132
395 192.168.0.133
396 192.168.0.134
397 192.168.0.135
398 192.168.0.136
399 192.168.0.137
400 192.168.0.138
401 192.168.0.139
402 192.168.0.140
403 192.168.0.141
404 192.168.0.142
405 192.168.0.143
406 192.168.0.144
407 192.168.0.145
408 192.168.0.146
409 192.168.0.147
410 192.168.0.148
411 192.168.0.149
412 192.168.0.150
413 192.168.0.151
414 192.168.0.152
415 192.168.0.153
416 192.168.0.154
417 192.168.0.155
418 192.168.0.156
419 192.168.0.157
420 192.168.0.158
421 192.168.0.159
422 192.168.0.160
423 192.168.0.161
424 192.168.0.162
425 192.168.0.163
426 192.168.0.164
427 192.168.0.165
428 192.168.0.166
429 192.168.0.167
430 192.168.0.168
431 192.168.0.169
432 192.168.0.170
433 192.168.0.171
434 192.168.0.172
435 192.168.0.173
436 192.168.0.174
437 192.168.0.175
438 192.168.0.176
439 192.168.0.177
440 192.168.0.178
441 192.168.0.179
442 192.168.0.180
443 192.168.0.181
444 192.168.0.182
445 192.168.0.183
446 192.168.0.184
447 192.168.0.185
448 192.168.0.186
449 192.168.0.187
450 192.168.0.188
451 192.168.0.189
452 192.168.0.190
453 192.168.0.191
454 192.168.0.192
455 192.168.0.193
456 192.168.0.194
457 192.168.0.195
458 192.168.0.196
459 192.168.0.197
460 192.168.0.198
461 192.168.0.199
462 192.168.0.200
463 192.168.0.201
464 192.168.0.202
465 192.168.0.203
466 192.168.0.204
467 192.168.0.205
468 192.168.0.206
469 192.168.0.207
470 192.168.0.208
471 192.168.0.209
472 192.168.0.210
473 192.168.0.211
474 192.168.0.212
475 192.168.0.213
476 192.168.0.214
477 192.168.0.215
478 192.168.0.216
479 192.168.0.217
480 192.168.0.218
481 192.168.0.219
482 192.168.0.220
483 192.168.0.221
484 192.168.0.222
485 192.168.0.223
486 192.168.0.224
487 192.168.0.225
488 192.168.0.226
489 192.168.0.227
490 192.168.0.228
491 192.168.0.229
492 192.168.0.230
493 192.168.0.231
494 192.168.0.232
495 192.168.0.233
496 192.168.0.234
497 192.168.0.235
498 192.168.0.236
499 192.168.0.237
500 192.168.0.238
501 192.168.0.239
502 192.168.0.240
503 192.168.0.241
504 192.168.0.242
505 192.168.0.243
506 192.168.0.244
507 192.168.0.245
508 192.168.0.246
509 192.168.0.247
510 192.168.0.248
511 192.168.0.249
512 192.168.0.250
513 192.168.0.251
514 192.168.0.252
515 192.168.0.253
516 192.168.0.254
517 192.168.0.255
518 >>>= 0