1 package io.jawk.gawk;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import io.jawk.AwkTestSupport;
26 import org.junit.Test;
27
28
29
30
31
32
33 public class GawkExtensionIT extends AbstractGawkSuite {
34
35 @Test
36 public void test_aadelete1() throws Exception {
37 AwkTestSupport
38 .cliTest("GAWK aadelete1")
39 .argument("-f", gawkFile("aadelete1.awk"))
40 .expectLines(gawkPath("aadelete1.ok"))
41 .expectExit(0)
42 .runAndAssert();
43 }
44
45 @Test
46 public void test_aadelete2() throws Exception {
47 skip(NON_ZERO_TRANSCRIPT_REASON);
48 }
49
50 @Test
51 public void test_aarray1() throws Exception {
52 AwkTestSupport
53 .cliTest("GAWK aarray1")
54 .argument("-f", gawkFile("aarray1.awk"))
55 .expectLines(gawkPath("aarray1.ok"))
56 .expectExit(0)
57 .runAndAssert();
58 }
59
60 @Test
61 public void test_aasort() throws Exception {
62 AwkTestSupport
63 .cliTest("GAWK aasort")
64 .argument("-f", gawkFile("aasort.awk"))
65 .expectLines(gawkPath("aasort.ok"))
66 .expectExit(0)
67 .runAndAssert();
68 }
69
70 @Test
71 public void test_aasorti() throws Exception {
72 AwkTestSupport
73 .cliTest("GAWK aasorti")
74 .argument("-f", gawkFile("aasorti.awk"))
75 .expectLines(gawkPath("aasorti.ok"))
76 .expectExit(0)
77 .runAndAssert();
78 }
79
80 @Test
81 public void test_arraysort() throws Exception {
82 AwkTestSupport
83 .cliTest("GAWK arraysort")
84 .argument("-f", gawkFile("arraysort.awk"))
85 .expectLines(gawkPath("arraysort.ok"))
86 .expectExit(0)
87 .runAndAssert();
88 }
89
90 @Test
91 public void test_arraysort2() throws Exception {
92 AwkTestSupport
93 .cliTest("GAWK arraysort2")
94 .argument("-f", gawkFile("arraysort2.awk"))
95 .expectLines(gawkPath("arraysort2.ok"))
96 .expectExit(0)
97 .runAndAssert();
98 }
99
100 @Test
101 public void test_arraytype() throws Exception {
102 AwkTestSupport
103 .cliTest("GAWK arraytype")
104 .argument("-f", gawkFile("arraytype.awk"))
105 .expectLines(gawkPath("arraytype.ok"))
106 .expectExit(0)
107 .runAndAssert();
108 }
109
110 @Test
111 public void test_asortbool() throws Exception {
112 AwkTestSupport
113 .cliTest("GAWK asortbool")
114 .argument("-f", gawkFile("asortbool.awk"))
115 .expectLines(gawkPath("asortbool.ok"))
116 .expectExit(0)
117 .runAndAssert();
118 }
119
120 @Test
121 public void test_backw() throws Exception {
122 AwkTestSupport
123 .cliTest("GAWK backw")
124 .argument("-f", gawkFile("backw.awk"))
125 .stdin(gawkText("backw.in"))
126 .expectLines(gawkPath("backw.ok"))
127 .expectExit(0)
128 .runAndAssert();
129 }
130
131 @Test
132 public void test_asortsymtab() throws Exception {
133 AwkTestSupport
134 .cliTest("GAWK asortsymtab")
135 .argument("-f", gawkFile("asortsymtab.awk"))
136 .expectLines(gawkPath("asortsymtab.ok"))
137 .expectExit(0)
138 .runAndAssert();
139 }
140
141 @Test
142 public void test_clos1way() throws Exception {
143 AwkTestSupport
144 .cliTest("GAWK clos1way")
145 .argument("-f", gawkFile("clos1way.awk"))
146 .expectLines(gawkPath("clos1way.ok"))
147 .expectExit(0)
148 .runAndAssert();
149 }
150
151 @Test
152 public void test_clos1way2() throws Exception {
153 skip(NON_ZERO_TRANSCRIPT_REASON);
154 }
155
156 @Test
157 public void test_clos1way3() throws Exception {
158 skip(NON_ZERO_TRANSCRIPT_REASON);
159 }
160
161 @Test
162 public void test_clos1way4() throws Exception {
163 skip(NON_ZERO_TRANSCRIPT_REASON);
164 }
165
166 @Test
167 public void test_clos1way5() throws Exception {
168 skip(NON_ZERO_TRANSCRIPT_REASON);
169 }
170
171 @Test
172 public void test_clos1way6() throws Exception {
173 AwkTestSupport
174 .cliTest("GAWK clos1way6")
175 .argument("-f", gawkFile("clos1way6.awk"))
176 .expectLines(gawkPath("clos1way6.ok"))
177 .expectExit(0)
178 .runAndAssert();
179 }
180
181 @Test
182 public void test_commas() throws Exception {
183 AwkTestSupport
184 .cliTest("GAWK commas")
185 .argument("--locale", "en-US")
186 .argument("-f", gawkFile("commas.awk"))
187 .expectLines(gawkPath("commas.ok"))
188 .expectExit(0)
189 .runAndAssert();
190 }
191
192 @Test
193 public void test_crlf() throws Exception {
194 AwkTestSupport
195 .cliTest("GAWK crlf")
196 .argument("-f", gawkFile("crlf.awk"))
197 .expectLines(gawkPath("crlf.ok"))
198 .expectExit(0)
199 .runAndAssert();
200 }
201
202 @Test
203 public void test_delsub() throws Exception {
204 AwkTestSupport
205 .cliTest("GAWK delsub")
206 .argument("-f", gawkFile("delsub.awk"))
207 .expectLines(gawkPath("delsub.ok"))
208 .expectExit(0)
209 .runAndAssert();
210 }
211
212 @Test
213 public void test_dfacheck1() throws Exception {
214 AwkTestSupport
215 .cliTest("GAWK dfacheck1")
216 .argument("-f", gawkFile("dfacheck1.awk"))
217 .stdin(gawkText("dfacheck1.in"))
218 .expectLines(gawkPath("dfacheck1.ok"))
219 .expectExit(0)
220 .runAndAssert();
221 }
222
223 @Test
224 public void test_elemnew1() throws Exception {
225 AwkTestSupport
226 .cliTest("GAWK elemnew1")
227 .argument("-f", gawkFile("elemnew1.awk"))
228 .expectLines(gawkPath("elemnew1.ok"))
229 .expectExit(0)
230 .runAndAssert();
231 }
232
233 @Test
234 public void test_elemnew2() throws Exception {
235 AwkTestSupport
236 .cliTest("GAWK elemnew2")
237 .argument("-f", gawkFile("elemnew2.awk"))
238 .expectLines(gawkPath("elemnew2.ok"))
239 .expectExit(0)
240 .runAndAssert();
241 }
242
243 @Test
244 public void test_elemnew3() throws Exception {
245 AwkTestSupport
246 .cliTest("GAWK elemnew3")
247 .argument("-f", gawkFile("elemnew3.awk"))
248 .expectLines(gawkPath("elemnew3.ok"))
249 .expectExit(0)
250 .runAndAssert();
251 }
252
253 @Test
254 public void test_exit() throws Exception {
255 skip(
256 "Shell-script target generated by Maketests; the in-process Jawk harness does not execute external shell scripts.");
257 }
258
259 @Test
260 public void test_fieldwdth() throws Exception {
261 AwkTestSupport
262 .cliTest("GAWK fieldwdth")
263 .argument("-f", gawkFile("fieldwdth.awk"))
264 .stdin(gawkText("fieldwdth.in"))
265 .expectLines(gawkPath("fieldwdth.ok"))
266 .expectExit(0)
267 .runAndAssert();
268 }
269
270 @Test
271 public void test_fpat1() throws Exception {
272 AwkTestSupport
273 .cliTest("GAWK fpat1")
274 .argument("-f", gawkFile("fpat1.awk"))
275 .stdin(gawkText("fpat1.in"))
276 .expectLines(gawkPath("fpat1.ok"))
277 .expectExit(0)
278 .runAndAssert();
279 }
280
281 @Test
282 public void test_fpat2() throws Exception {
283 AwkTestSupport
284 .cliTest("GAWK fpat2")
285 .argument("-f", gawkFile("fpat2.awk"))
286 .expectLines(gawkPath("fpat2.ok"))
287 .expectExit(0)
288 .runAndAssert();
289 }
290
291 @Test
292 public void test_fpat3() throws Exception {
293 AwkTestSupport
294 .cliTest("GAWK fpat3")
295 .argument("-f", gawkFile("fpat3.awk"))
296 .stdin(gawkText("fpat3.in"))
297 .expectLines(gawkPath("fpat3.ok"))
298 .expectExit(0)
299 .runAndAssert();
300 }
301
302 @Test
303 public void test_fpat4() throws Exception {
304 AwkTestSupport
305 .cliTest("GAWK fpat4")
306 .argument("-f", gawkFile("fpat4.awk"))
307 .expectLines(gawkPath("fpat4.ok"))
308 .expectExit(0)
309 .runAndAssert();
310 }
311
312 @Test
313 public void test_fpat5() throws Exception {
314 AwkTestSupport
315 .cliTest("GAWK fpat5")
316 .argument("-f", gawkFile("fpat5.awk"))
317 .stdin(gawkText("fpat5.in"))
318 .expectLines(gawkPath("fpat5.ok"))
319 .expectExit(0)
320 .runAndAssert();
321 }
322
323 @Test
324 public void test_fpat6() throws Exception {
325 AwkTestSupport
326 .cliTest("GAWK fpat6")
327 .argument("-f", gawkFile("fpat6.awk"))
328 .stdin(gawkText("fpat6.in"))
329 .expectLines(gawkPath("fpat6.ok"))
330 .expectExit(0)
331 .runAndAssert();
332 }
333
334 @Test
335 public void test_fpat7() throws Exception {
336 AwkTestSupport
337 .cliTest("GAWK fpat7")
338 .argument("-f", gawkFile("fpat7.awk"))
339 .stdin(gawkText("fpat7.in"))
340 .expectLines(gawkPath("fpat7.ok"))
341 .expectExit(0)
342 .runAndAssert();
343 }
344
345 @Test
346 public void test_fpat8() throws Exception {
347 AwkTestSupport
348 .cliTest("GAWK fpat8")
349 .argument("-f", gawkFile("fpat8.awk"))
350 .stdin(gawkText("fpat8.in"))
351 .expectLines(gawkPath("fpat8.ok"))
352 .expectExit(0)
353 .runAndAssert();
354 }
355
356 @Test
357 public void test_fpat9() throws Exception {
358 AwkTestSupport
359 .cliTest("GAWK fpat9")
360 .argument("-f", gawkFile("fpat9.awk"))
361 .stdin(gawkText("fpat9.in"))
362 .expectLines(gawkPath("fpat9.ok"))
363 .expectExit(0)
364 .runAndAssert();
365 }
366
367 @Test
368 public void test_fpatnull() throws Exception {
369 AwkTestSupport
370 .cliTest("GAWK fpatnull")
371 .argument("-f", gawkFile("fpatnull.awk"))
372 .stdin(gawkText("fpatnull.in"))
373 .expectLines(gawkPath("fpatnull.ok"))
374 .expectExit(0)
375 .runAndAssert();
376 }
377
378 @Test
379 public void test_fsfwfs() throws Exception {
380 AwkTestSupport
381 .cliTest("GAWK fsfwfs")
382 .argument("-f", gawkFile("fsfwfs.awk"))
383 .stdin(gawkText("fsfwfs.in"))
384 .expectLines(gawkPath("fsfwfs.ok"))
385 .expectExit(0)
386 .runAndAssert();
387 }
388
389 @Test
390 public void test_functab1() throws Exception {
391 skip(NON_ZERO_TRANSCRIPT_REASON);
392 }
393
394 @Test
395 public void test_functab2() throws Exception {
396 skip(NON_ZERO_TRANSCRIPT_REASON);
397 }
398
399 @Test
400 public void test_functab3() throws Exception {
401 AwkTestSupport
402 .cliTest("GAWK functab3")
403 .argument("-f", gawkFile("functab3.awk"))
404 .expectLines(gawkPath("functab3.ok"))
405 .expectExit(0)
406 .runAndAssert();
407 }
408
409 @Test
410 public void test_functab6() throws Exception {
411 skip(NON_ZERO_TRANSCRIPT_REASON);
412 }
413
414 @Test
415 public void test_funlen() throws Exception {
416 AwkTestSupport
417 .cliTest("GAWK funlen")
418 .argument("-f", gawkFile("funlen.awk"))
419 .stdin(gawkText("funlen.in"))
420 .expectLines(gawkPath("funlen.ok"))
421 .expectExit(0)
422 .runAndAssert();
423 }
424
425 @Test
426 public void test_fwtest() throws Exception {
427 AwkTestSupport
428 .cliTest("GAWK fwtest")
429 .argument("-f", gawkFile("fwtest.awk"))
430 .stdin(gawkText("fwtest.in"))
431 .expectLines(gawkPath("fwtest.ok"))
432 .expectExit(0)
433 .runAndAssert();
434 }
435
436 @Test
437 public void test_fwtest2() throws Exception {
438 AwkTestSupport
439 .cliTest("GAWK fwtest2")
440 .argument("-f", gawkFile("fwtest2.awk"))
441 .stdin(gawkText("fwtest2.in"))
442 .expectLines(gawkPath("fwtest2.ok"))
443 .expectExit(0)
444 .runAndAssert();
445 }
446
447 @Test
448 public void test_fwtest3() throws Exception {
449 AwkTestSupport
450 .cliTest("GAWK fwtest3")
451 .argument("-f", gawkFile("fwtest3.awk"))
452 .stdin(gawkText("fwtest3.in"))
453 .expectLines(gawkPath("fwtest3.ok"))
454 .expectExit(0)
455 .runAndAssert();
456 }
457
458 @Test
459 public void test_fwtest4() throws Exception {
460 AwkTestSupport
461 .cliTest("GAWK fwtest4")
462 .argument("-f", gawkFile("fwtest4.awk"))
463 .stdin(gawkText("fwtest4.in"))
464 .expectLines(gawkPath("fwtest4.ok"))
465 .expectExit(0)
466 .runAndAssert();
467 }
468
469 @Test
470 public void test_fwtest5() throws Exception {
471 AwkTestSupport
472 .cliTest("GAWK fwtest5")
473 .argument("-f", gawkFile("fwtest5.awk"))
474 .stdin(gawkText("fwtest5.in"))
475 .expectLines(gawkPath("fwtest5.ok"))
476 .expectExit(0)
477 .runAndAssert();
478 }
479
480 @Test
481 public void test_fwtest6() throws Exception {
482 skip(NON_ZERO_TRANSCRIPT_REASON);
483 }
484
485 @Test
486 public void test_fwtest7() throws Exception {
487 AwkTestSupport
488 .cliTest("GAWK fwtest7")
489 .argument("-f", gawkFile("fwtest7.awk"))
490 .stdin(gawkText("fwtest7.in"))
491 .expectLines(gawkPath("fwtest7.ok"))
492 .expectExit(0)
493 .runAndAssert();
494 }
495
496 @Test
497 public void test_fwtest8() throws Exception {
498 skip(NON_ZERO_TRANSCRIPT_REASON);
499 }
500
501 @Test
502 public void test_gensub() throws Exception {
503 AwkTestSupport
504 .cliTest("GAWK gensub")
505 .argument("-f", gawkFile("gensub.awk"))
506 .stdin(gawkText("gensub.in"))
507 .expectLines(gawkPath("gensub.ok"))
508 .expectExit(0)
509 .runAndAssert();
510 }
511
512 @Test
513 public void test_gensub2() throws Exception {
514 AwkTestSupport
515 .cliTest("GAWK gensub2")
516 .argument("-f", gawkFile("gensub2.awk"))
517 .expectLines(gawkPath("gensub2.ok"))
518 .expectExit(0)
519 .runAndAssert();
520 }
521
522 @Test
523 public void test_gensub3() throws Exception {
524 AwkTestSupport
525 .cliTest("GAWK gensub3")
526 .argument("-f", gawkFile("gensub3.awk"))
527 .stdin(gawkText("gensub3.in"))
528 .expectLines(gawkPath("gensub3.ok"))
529 .expectExit(0)
530 .runAndAssert();
531 }
532
533 @Test
534 public void test_gensub4() throws Exception {
535 AwkTestSupport
536 .cliTest("GAWK gensub4")
537 .argument("-f", gawkFile("gensub4.awk"))
538 .expectLines(gawkPath("gensub4.ok"))
539 .expectExit(0)
540 .runAndAssert();
541 }
542
543 @Test
544 public void test_getlndir() throws Exception {
545 AwkTestSupport
546 .cliTest("GAWK getlndir")
547 .argument("-f", gawkFile("getlndir.awk"))
548 .expectLines(gawkPath("getlndir.ok"))
549 .expectExit(0)
550 .runAndAssert();
551 }
552
553 @Test
554 public void test_gnuops2() throws Exception {
555 AwkTestSupport
556 .cliTest("GAWK gnuops2")
557 .argument("-f", gawkFile("gnuops2.awk"))
558 .expectLines(gawkPath("gnuops2.ok"))
559 .expectExit(0)
560 .runAndAssert();
561 }
562
563 @Test
564 public void test_gnuops3() throws Exception {
565 AwkTestSupport
566 .cliTest("GAWK gnuops3")
567 .argument("-f", gawkFile("gnuops3.awk"))
568 .expectLines(gawkPath("gnuops3.ok"))
569 .expectExit(0)
570 .runAndAssert();
571 }
572
573 @Test
574 public void test_gnureops() throws Exception {
575 AwkTestSupport
576 .cliTest("GAWK gnureops")
577 .argument("-f", gawkFile("gnureops.awk"))
578 .expectLines(gawkPath("gnureops.ok"))
579 .expectExit(0)
580 .runAndAssert();
581 }
582
583 @Test
584 public void test_gsubind() throws Exception {
585 skip(NON_ZERO_TRANSCRIPT_REASON);
586 }
587
588 @Test
589 public void test_icasefs() throws Exception {
590 AwkTestSupport
591 .cliTest("GAWK icasefs")
592 .argument("-f", gawkFile("icasefs.awk"))
593 .expectLines(gawkPath("icasefs.ok"))
594 .expectExit(0)
595 .runAndAssert();
596 }
597
598 @Test
599 public void test_icasers() throws Exception {
600 AwkTestSupport
601 .cliTest("GAWK icasers")
602 .argument("-f", gawkFile("icasers.awk"))
603 .stdin(gawkText("icasers.in"))
604 .expectLines(gawkPath("icasers.ok"))
605 .expectExit(0)
606 .runAndAssert();
607 }
608
609 @Test
610 public void test_id() throws Exception {
611 AwkTestSupport
612 .cliTest("GAWK id")
613 .argument("-f", gawkFile("id.awk"))
614 .expectLines(gawkPath("id.ok"))
615 .expectExit(0)
616 .runAndAssert();
617 }
618
619 @Test
620 public void test_igncdym() throws Exception {
621 AwkTestSupport
622 .cliTest("GAWK igncdym")
623 .argument("-f", gawkFile("igncdym.awk"))
624 .stdin(gawkText("igncdym.in"))
625 .expectLines(gawkPath("igncdym.ok"))
626 .expectExit(0)
627 .runAndAssert();
628 }
629
630 @Test
631 public void test_igncfs() throws Exception {
632 AwkTestSupport
633 .cliTest("GAWK igncfs")
634 .argument("-f", gawkFile("igncfs.awk"))
635 .stdin(gawkText("igncfs.in"))
636 .expectLines(gawkPath("igncfs.ok"))
637 .expectExit(0)
638 .runAndAssert();
639 }
640
641 @Test
642 public void test_ignrcas2() throws Exception {
643 AwkTestSupport
644 .cliTest("GAWK ignrcas2")
645 .argument("--locale", "en-US")
646 .argument("-f", gawkFile("ignrcas2.awk"))
647 .expectLines(gawkPath("ignrcas2.ok"))
648 .expectExit(0)
649 .runAndAssert();
650 }
651
652 @Test
653 public void test_ignrcas4() throws Exception {
654 AwkTestSupport
655 .cliTest("GAWK ignrcas4")
656 .argument("-f", gawkFile("ignrcas4.awk"))
657 .expectLines(gawkPath("ignrcas4.ok"))
658 .expectExit(0)
659 .runAndAssert();
660 }
661
662 @Test
663 public void test_ignrcase() throws Exception {
664 AwkTestSupport
665 .cliTest("GAWK ignrcase")
666 .argument("-f", gawkFile("ignrcase.awk"))
667 .stdin(gawkText("ignrcase.in"))
668 .expectLines(gawkPath("ignrcase.ok"))
669 .expectExit(0)
670 .runAndAssert();
671 }
672
673 @Test
674 public void test_include() throws Exception {
675 AwkTestSupport
676 .cliTest("GAWK include")
677 .argument("-f", gawkFile("include.awk"))
678 .expectLines(gawkPath("include.ok"))
679 .expectExit(0)
680 .runAndAssert();
681 }
682
683 @Test
684 public void test_indirectbuiltin() throws Exception {
685 AwkTestSupport
686 .cliTest("GAWK indirectbuiltin")
687 .argument("-f", gawkFile("indirectbuiltin.awk"))
688 .expectLines(gawkPath("indirectbuiltin.ok"))
689 .expectExit(0)
690 .runAndAssert();
691 }
692
693 @Test
694 public void test_indirectcall() throws Exception {
695 AwkTestSupport
696 .cliTest("GAWK indirectcall")
697 .argument("-f", gawkFile("indirectcall.awk"))
698 .stdin(gawkText("indirectcall.in"))
699 .expectLines(gawkPath("indirectcall.ok"))
700 .expectExit(0)
701 .runAndAssert();
702 }
703
704 @Test
705 public void test_indirectcall2() throws Exception {
706 AwkTestSupport
707 .cliTest("GAWK indirectcall2")
708 .argument("-f", gawkFile("indirectcall2.awk"))
709 .expectLines(gawkPath("indirectcall2.ok"))
710 .expectExit(0)
711 .runAndAssert();
712 }
713
714 @Test
715 public void test_indirectcall3() throws Exception {
716 AwkTestSupport
717 .cliTest("GAWK indirectcall3")
718 .argument("-f", gawkFile("indirectcall3.awk"))
719 .expectLines(gawkPath("indirectcall3.ok"))
720 .expectExit(0)
721 .runAndAssert();
722 }
723
724 @Test
725 public void test_isarrayunset() throws Exception {
726 AwkTestSupport
727 .cliTest("GAWK isarrayunset")
728 .argument("-f", gawkFile("isarrayunset.awk"))
729 .expectLines(gawkPath("isarrayunset.ok"))
730 .expectExit(0)
731 .runAndAssert();
732 }
733
734 @Test
735 public void test_lint() throws Exception {
736 AwkTestSupport
737 .cliTest("GAWK lint")
738 .argument("-f", gawkFile("lint.awk"))
739 .expectLines(gawkPath("lint.ok"))
740 .expectExit(0)
741 .runAndAssert();
742 }
743
744 @Test
745 public void test_lintset() throws Exception {
746 AwkTestSupport
747 .cliTest("GAWK lintset")
748 .argument("-f", gawkFile("lintset.awk"))
749 .expectLines(gawkPath("lintset.ok"))
750 .expectExit(0)
751 .runAndAssert();
752 }
753
754 @Test
755 public void test_match1() throws Exception {
756 AwkTestSupport
757 .cliTest("GAWK match1")
758 .argument("-f", gawkFile("match1.awk"))
759 .expectLines(gawkPath("match1.ok"))
760 .expectExit(0)
761 .runAndAssert();
762 }
763
764 @Test
765 public void test_match2() throws Exception {
766 skip(NON_ZERO_TRANSCRIPT_REASON);
767 }
768
769 @Test
770 public void test_match3() throws Exception {
771 AwkTestSupport
772 .cliTest("GAWK match3")
773 .argument("-f", gawkFile("match3.awk"))
774 .stdin(gawkText("match3.in"))
775 .expectLines(gawkPath("match3.ok"))
776 .expectExit(0)
777 .runAndAssert();
778 }
779
780 @Test
781 public void test_mbstr1() throws Exception {
782 AwkTestSupport
783 .cliTest("GAWK mbstr1")
784 .argument("--locale", "en-US")
785 .argument("-f", gawkFile("mbstr1.awk"))
786 .expectLines(gawkPath("mbstr1.ok"))
787 .expectExit(0)
788 .runAndAssert();
789 }
790
791 @Test
792 public void test_mbstr2() throws Exception {
793 skip(NON_UTF8_STDIN_REASON);
794 }
795
796 @Test
797 public void test_mdim1() throws Exception {
798 skip(NON_ZERO_TRANSCRIPT_REASON);
799 }
800
801 @Test
802 public void test_mdim2() throws Exception {
803 AwkTestSupport
804 .cliTest("GAWK mdim2")
805 .argument("-f", gawkFile("mdim2.awk"))
806 .expectLines(gawkPath("mdim2.ok"))
807 .expectExit(0)
808 .runAndAssert();
809 }
810
811 @Test
812 public void test_mdim3() throws Exception {
813 AwkTestSupport
814 .cliTest("GAWK mdim3")
815 .argument("-f", gawkFile("mdim3.awk"))
816 .expectLines(gawkPath("mdim3.ok"))
817 .expectExit(0)
818 .runAndAssert();
819 }
820
821 @Test
822 public void test_mdim4() throws Exception {
823 AwkTestSupport
824 .cliTest("GAWK mdim4")
825 .argument("-f", gawkFile("mdim4.awk"))
826 .stdin(gawkText("mdim4.in"))
827 .expectLines(gawkPath("mdim4.ok"))
828 .expectExit(0)
829 .runAndAssert();
830 }
831
832 @Test
833 public void test_mdim5() throws Exception {
834 AwkTestSupport
835 .cliTest("GAWK mdim5")
836 .argument("-f", gawkFile("mdim5.awk"))
837 .expectLines(gawkPath("mdim5.ok"))
838 .expectExit(0)
839 .runAndAssert();
840 }
841
842 @Test
843 public void test_mdim6() throws Exception {
844 skip(NON_ZERO_TRANSCRIPT_REASON);
845 }
846
847 @Test
848 public void test_mdim7() throws Exception {
849 AwkTestSupport
850 .cliTest("GAWK mdim7")
851 .argument("-f", gawkFile("mdim7.awk"))
852 .expectLines(gawkPath("mdim7.ok"))
853 .expectExit(0)
854 .runAndAssert();
855 }
856
857 @Test
858 public void test_mdim8() throws Exception {
859 AwkTestSupport
860 .cliTest("GAWK mdim8")
861 .argument("-f", gawkFile("mdim8.awk"))
862 .stdin(gawkText("mdim8.in"))
863 .expectLines(gawkPath("mdim8.ok"))
864 .expectExit(0)
865 .runAndAssert();
866 }
867
868 @Test
869 public void test_mktime() throws Exception {
870 AwkTestSupport
871 .cliTest("GAWK mktime")
872 .argument("-f", gawkFile("mktime.awk"))
873 .stdin(gawkText("mktime.in"))
874 .expectLines(gawkPath("mktime.ok"))
875 .expectExit(0)
876 .runAndAssert();
877 }
878
879 @Test
880 public void test_modifiers() throws Exception {
881 skip(
882 "Shell-script target generated by Maketests; the in-process Jawk harness does not execute external shell scripts.");
883 }
884
885 @Test
886 public void test_nastyparm() throws Exception {
887 skip(NON_ZERO_TRANSCRIPT_REASON);
888 }
889
890 @Test
891 public void test_next() throws Exception {
892 skip(
893 "Shell-script target generated by Maketests; the in-process Jawk harness does not execute external shell scripts.");
894 }
895
896 @Test
897 public void test_nondec() throws Exception {
898 AwkTestSupport
899 .cliTest("GAWK nondec")
900 .argument("-f", gawkFile("nondec.awk"))
901 .expectLines(gawkPath("nondec.ok"))
902 .expectExit(0)
903 .runAndAssert();
904 }
905
906 @Test
907 public void test_nonfatal2() throws Exception {
908 AwkTestSupport
909 .cliTest("GAWK nonfatal2")
910 .argument("-f", gawkFile("nonfatal2.awk"))
911 .expectLines(gawkPath("nonfatal2.ok"))
912 .expectExit(0)
913 .runAndAssert();
914 }
915
916 @Test
917 public void test_nonfatal3() throws Exception {
918 AwkTestSupport
919 .cliTest("GAWK nonfatal3")
920 .argument("-f", gawkFile("nonfatal3.awk"))
921 .expectLines(gawkPath("nonfatal3.ok"))
922 .expectExit(0)
923 .runAndAssert();
924 }
925
926 @Test
927 public void test_nsbad() throws Exception {
928 skip(NON_ZERO_TRANSCRIPT_REASON);
929 }
930
931 @Test
932 public void test_nsbad2() throws Exception {
933 skip(NON_ZERO_TRANSCRIPT_REASON);
934 }
935
936 @Test
937 public void test_nsbad3() throws Exception {
938 skip(NON_ZERO_TRANSCRIPT_REASON);
939 }
940
941 @Test
942 public void test_nsforloop() throws Exception {
943 AwkTestSupport
944 .cliTest("GAWK nsforloop")
945 .argument("-f", gawkFile("nsforloop.awk"))
946 .expectLines(gawkPath("nsforloop.ok"))
947 .expectExit(0)
948 .runAndAssert();
949 }
950
951 @Test
952 public void test_nsfuncrecurse() throws Exception {
953 AwkTestSupport
954 .cliTest("GAWK nsfuncrecurse")
955 .argument("-f", gawkFile("nsfuncrecurse.awk"))
956 .expectLines(gawkPath("nsfuncrecurse.ok"))
957 .expectExit(0)
958 .runAndAssert();
959 }
960
961 @Test
962 public void test_nsindirect1() throws Exception {
963 AwkTestSupport
964 .cliTest("GAWK nsindirect1")
965 .argument("-f", gawkFile("nsindirect1.awk"))
966 .expectLines(gawkPath("nsindirect1.ok"))
967 .expectExit(0)
968 .runAndAssert();
969 }
970
971 @Test
972 public void test_nsindirect2() throws Exception {
973 AwkTestSupport
974 .cliTest("GAWK nsindirect2")
975 .argument("-f", gawkFile("nsindirect2.awk"))
976 .expectLines(gawkPath("nsindirect2.ok"))
977 .expectExit(0)
978 .runAndAssert();
979 }
980
981 @Test
982 public void test_octdec() throws Exception {
983 AwkTestSupport
984 .cliTest("GAWK octdec")
985 .argument("-f", gawkFile("octdec.awk"))
986 .expectLines(gawkPath("octdec.ok"))
987 .expectExit(0)
988 .runAndAssert();
989 }
990
991 @Test
992 public void test_patsplit() throws Exception {
993 AwkTestSupport
994 .cliTest("GAWK patsplit")
995 .argument("-f", gawkFile("patsplit.awk"))
996 .expectLines(gawkPath("patsplit.ok"))
997 .expectExit(0)
998 .runAndAssert();
999 }
1000
1001 @Test
1002 public void test_posix() throws Exception {
1003 AwkTestSupport
1004 .cliTest("GAWK posix")
1005 .argument("-f", gawkFile("posix.awk"))
1006 .stdin(gawkText("posix.in"))
1007 .expectLines(gawkPath("posix.ok"))
1008 .expectExit(0)
1009 .runAndAssert();
1010 }
1011
1012 @Test
1013 public void test_printfbad1() throws Exception {
1014 skip(NON_ZERO_TRANSCRIPT_REASON);
1015 }
1016
1017 @Test
1018 public void test_printfbad3() throws Exception {
1019 AwkTestSupport
1020 .cliTest("GAWK printfbad3")
1021 .argument("-f", gawkFile("printfbad3.awk"))
1022 .expectLines(gawkPath("printfbad3.ok"))
1023 .expectExit(0)
1024 .runAndAssert();
1025 }
1026
1027 @Test
1028 public void test_printfbad4() throws Exception {
1029 skip(NON_ZERO_TRANSCRIPT_REASON);
1030 }
1031
1032 @Test
1033 public void test_printhuge() throws Exception {
1034 skip(NON_UTF8_EXPECTED_REASON);
1035 }
1036
1037 @Test
1038 public void test_procinfs() throws Exception {
1039 AwkTestSupport
1040 .cliTest("GAWK procinfs")
1041 .argument("-f", gawkFile("procinfs.awk"))
1042 .expectLines(gawkPath("procinfs.ok"))
1043 .expectExit(0)
1044 .runAndAssert();
1045 }
1046
1047 @Test
1048 public void test_regexsub() throws Exception {
1049 AwkTestSupport
1050 .cliTest("GAWK regexsub")
1051 .argument("-f", gawkFile("regexsub.awk"))
1052 .expectLines(gawkPath("regexsub.ok"))
1053 .expectExit(0)
1054 .runAndAssert();
1055 }
1056
1057 @Test
1058 public void test_regnul1() throws Exception {
1059 AwkTestSupport
1060 .cliTest("GAWK regnul1")
1061 .argument("-f", gawkFile("regnul1.awk"))
1062 .expectLines(gawkPath("regnul1.ok"))
1063 .expectExit(0)
1064 .runAndAssert();
1065 }
1066
1067 @Test
1068 public void test_regnul2() throws Exception {
1069 AwkTestSupport
1070 .cliTest("GAWK regnul2")
1071 .argument("-f", gawkFile("regnul2.awk"))
1072 .expectLines(gawkPath("regnul2.ok"))
1073 .expectExit(0)
1074 .runAndAssert();
1075 }
1076
1077 @Test
1078 public void test_regx8bit() throws Exception {
1079 skip(NON_UTF8_EXPECTED_REASON);
1080 }
1081
1082 @Test
1083 public void test_rsgetline() throws Exception {
1084 AwkTestSupport
1085 .cliTest("GAWK rsgetline")
1086 .argument("-f", gawkFile("rsgetline.awk"))
1087 .stdin(gawkText("rsgetline.in"))
1088 .expectLines(gawkPath("rsgetline.ok"))
1089 .expectExit(0)
1090 .runAndAssert();
1091 }
1092
1093 @Test
1094 public void test_rsstart1() throws Exception {
1095 AwkTestSupport
1096 .cliTest("GAWK rsstart1")
1097 .argument("-f", gawkFile("rsstart1.awk"))
1098 .stdin(gawkText("rsstart1.in"))
1099 .expectLines(gawkPath("rsstart1.ok"))
1100 .expectExit(0)
1101 .runAndAssert();
1102 }
1103
1104 @Test
1105 public void test_rsstart2() throws Exception {
1106 AwkTestSupport
1107 .cliTest("GAWK rsstart2")
1108 .argument("-f", gawkFile("rsstart2.awk"))
1109 .stdin(gawkText("rsstart2.in"))
1110 .expectLines(gawkPath("rsstart2.ok"))
1111 .expectExit(0)
1112 .runAndAssert();
1113 }
1114
1115 @Test
1116 public void test_rstest6() throws Exception {
1117 AwkTestSupport
1118 .cliTest("GAWK rstest6")
1119 .argument("-f", gawkFile("rstest6.awk"))
1120 .stdin(gawkText("rstest6.in"))
1121 .expectLines(gawkPath("rstest6.ok"))
1122 .expectExit(0)
1123 .runAndAssert();
1124 }
1125
1126 @Test
1127 public void test_shadowbuiltin() throws Exception {
1128 AwkTestSupport
1129 .cliTest("GAWK shadowbuiltin")
1130 .argument("-f", gawkFile("shadowbuiltin.awk"))
1131 .expectLines(gawkPath("shadowbuiltin.ok"))
1132 .expectExit(0)
1133 .runAndAssert();
1134 }
1135
1136 @Test
1137 public void test_sortfor() throws Exception {
1138 AwkTestSupport
1139 .cliTest("GAWK sortfor")
1140 .argument("-f", gawkFile("sortfor.awk"))
1141 .stdin(gawkText("sortfor.in"))
1142 .expectLines(gawkPath("sortfor.ok"))
1143 .expectExit(0)
1144 .runAndAssert();
1145 }
1146
1147 @Test
1148 public void test_sortfor2() throws Exception {
1149 AwkTestSupport
1150 .cliTest("GAWK sortfor2")
1151 .argument("-f", gawkFile("sortfor2.awk"))
1152 .stdin(gawkText("sortfor2.in"))
1153 .expectLines(gawkPath("sortfor2.ok"))
1154 .expectExit(0)
1155 .runAndAssert();
1156 }
1157
1158 @Test
1159 public void test_sortu() throws Exception {
1160 AwkTestSupport
1161 .cliTest("GAWK sortu")
1162 .argument("-f", gawkFile("sortu.awk"))
1163 .expectLines(gawkPath("sortu.ok"))
1164 .expectExit(0)
1165 .runAndAssert();
1166 }
1167
1168 @Test
1169 public void test_split_after_fpat() throws Exception {
1170 AwkTestSupport
1171 .cliTest("GAWK split_after_fpat")
1172 .argument("-f", gawkFile("split_after_fpat.awk"))
1173 .stdin(gawkText("split_after_fpat.in"))
1174 .expectLines(gawkPath("split_after_fpat.ok"))
1175 .expectExit(0)
1176 .runAndAssert();
1177 }
1178
1179 @Test
1180 public void test_splitarg4() throws Exception {
1181 AwkTestSupport
1182 .cliTest("GAWK splitarg4")
1183 .argument("-f", gawkFile("splitarg4.awk"))
1184 .stdin(gawkText("splitarg4.in"))
1185 .expectLines(gawkPath("splitarg4.ok"))
1186 .expectExit(0)
1187 .runAndAssert();
1188 }
1189
1190 @Test
1191 public void test_strftfld() throws Exception {
1192 AwkTestSupport
1193 .cliTest("GAWK strftfld")
1194 .argument("-f", gawkFile("strftfld.awk"))
1195 .stdin(gawkText("strftfld.in"))
1196 .expectLines(gawkPath("strftfld.ok"))
1197 .expectExit(0)
1198 .runAndAssert();
1199 }
1200
1201 @Test
1202 public void test_strtonum() throws Exception {
1203 AwkTestSupport
1204 .cliTest("GAWK strtonum")
1205 .argument("-f", gawkFile("strtonum.awk"))
1206 .expectLines(gawkPath("strtonum.ok"))
1207 .expectExit(0)
1208 .runAndAssert();
1209 }
1210
1211 @Test
1212 public void test_strtonum1() throws Exception {
1213 AwkTestSupport
1214 .cliTest("GAWK strtonum1")
1215 .argument("-f", gawkFile("strtonum1.awk"))
1216 .expectLines(gawkPath("strtonum1.ok"))
1217 .expectExit(0)
1218 .runAndAssert();
1219 }
1220
1221 @Test
1222 public void test_stupid1() throws Exception {
1223 AwkTestSupport
1224 .cliTest("GAWK stupid1")
1225 .argument("-f", gawkFile("stupid1.awk"))
1226 .expectLines(gawkPath("stupid1.ok"))
1227 .expectExit(0)
1228 .runAndAssert();
1229 }
1230
1231 @Test
1232 public void test_stupid2() throws Exception {
1233 AwkTestSupport
1234 .cliTest("GAWK stupid2")
1235 .argument("-f", gawkFile("stupid2.awk"))
1236 .expectLines(gawkPath("stupid2.ok"))
1237 .expectExit(0)
1238 .runAndAssert();
1239 }
1240
1241 @Test
1242 public void test_stupid3() throws Exception {
1243 AwkTestSupport
1244 .cliTest("GAWK stupid3")
1245 .argument("-f", gawkFile("stupid3.awk"))
1246 .expectLines(gawkPath("stupid3.ok"))
1247 .expectExit(0)
1248 .runAndAssert();
1249 }
1250
1251 @Test
1252 public void test_stupid4() throws Exception {
1253 AwkTestSupport
1254 .cliTest("GAWK stupid4")
1255 .argument("-f", gawkFile("stupid4.awk"))
1256 .expectLines(gawkPath("stupid4.ok"))
1257 .expectExit(0)
1258 .runAndAssert();
1259 }
1260
1261 @Test
1262 public void test_stupid5() throws Exception {
1263 AwkTestSupport
1264 .cliTest("GAWK stupid5")
1265 .argument("-f", gawkFile("stupid5.awk"))
1266 .expectLines(gawkPath("stupid5.ok"))
1267 .expectExit(0)
1268 .runAndAssert();
1269 }
1270
1271 @Test
1272 public void test_switch2() throws Exception {
1273 AwkTestSupport
1274 .cliTest("GAWK switch2")
1275 .argument("-f", gawkFile("switch2.awk"))
1276 .expectLines(gawkPath("switch2.ok"))
1277 .expectExit(0)
1278 .runAndAssert();
1279 }
1280
1281 @Test
1282 public void test_symtab1() throws Exception {
1283 AwkTestSupport
1284 .cliTest("GAWK symtab1")
1285 .argument("-f", gawkFile("symtab1.awk"))
1286 .expectLines(gawkPath("symtab1.ok"))
1287 .expectExit(0)
1288 .runAndAssert();
1289 }
1290
1291 @Test
1292 public void test_symtab2() throws Exception {
1293 AwkTestSupport
1294 .cliTest("GAWK symtab2")
1295 .argument("-f", gawkFile("symtab2.awk"))
1296 .expectLines(gawkPath("symtab2.ok"))
1297 .expectExit(0)
1298 .runAndAssert();
1299 }
1300
1301 @Test
1302 public void test_symtab3() throws Exception {
1303 skip(NON_ZERO_TRANSCRIPT_REASON);
1304 }
1305
1306 @Test
1307 public void test_symtab4() throws Exception {
1308 AwkTestSupport
1309 .cliTest("GAWK symtab4")
1310 .argument("-f", gawkFile("symtab4.awk"))
1311 .stdin(gawkText("symtab4.in"))
1312 .expectLines(gawkPath("symtab4.ok"))
1313 .expectExit(0)
1314 .runAndAssert();
1315 }
1316
1317 @Test
1318 public void test_symtab5() throws Exception {
1319 AwkTestSupport
1320 .cliTest("GAWK symtab5")
1321 .argument("-f", gawkFile("symtab5.awk"))
1322 .stdin(gawkText("symtab5.in"))
1323 .expectLines(gawkPath("symtab5.ok"))
1324 .expectExit(0)
1325 .runAndAssert();
1326 }
1327
1328 @Test
1329 public void test_symtab7() throws Exception {
1330 skip(NON_ZERO_TRANSCRIPT_REASON);
1331 }
1332
1333 @Test
1334 public void test_symtab10() throws Exception {
1335 skip(NON_ZERO_TRANSCRIPT_REASON);
1336 }
1337
1338 @Test
1339 public void test_symtab11() throws Exception {
1340 AwkTestSupport
1341 .cliTest("GAWK symtab11")
1342 .argument("-f", gawkFile("symtab11.awk"))
1343 .expectLines(gawkPath("symtab11.ok"))
1344 .expectExit(0)
1345 .runAndAssert();
1346 }
1347
1348 @Test
1349 public void test_symtab12() throws Exception {
1350 skip(NON_ZERO_TRANSCRIPT_REASON);
1351 }
1352
1353 @Test
1354 public void test_timeout() throws Exception {
1355 AwkTestSupport
1356 .cliTest("GAWK timeout")
1357 .argument("-f", gawkFile("timeout.awk"))
1358 .expectLines(gawkPath("timeout.ok"))
1359 .expectExit(0)
1360 .runAndAssert();
1361 }
1362
1363 @Test
1364 public void test_typedregex1() throws Exception {
1365 AwkTestSupport
1366 .cliTest("GAWK typedregex1")
1367 .argument("-f", gawkFile("typedregex1.awk"))
1368 .expectLines(gawkPath("typedregex1.ok"))
1369 .expectExit(0)
1370 .runAndAssert();
1371 }
1372
1373 @Test
1374 public void test_typedregex2() throws Exception {
1375 AwkTestSupport
1376 .cliTest("GAWK typedregex2")
1377 .argument("-f", gawkFile("typedregex2.awk"))
1378 .expectLines(gawkPath("typedregex2.ok"))
1379 .expectExit(0)
1380 .runAndAssert();
1381 }
1382
1383 @Test
1384 public void test_typedregex3() throws Exception {
1385 AwkTestSupport
1386 .cliTest("GAWK typedregex3")
1387 .argument("-f", gawkFile("typedregex3.awk"))
1388 .expectLines(gawkPath("typedregex3.ok"))
1389 .expectExit(0)
1390 .runAndAssert();
1391 }
1392
1393 @Test
1394 public void test_typedregex5() throws Exception {
1395 AwkTestSupport
1396 .cliTest("GAWK typedregex5")
1397 .argument("-f", gawkFile("typedregex5.awk"))
1398 .stdin(gawkText("typedregex5.in"))
1399 .expectLines(gawkPath("typedregex5.ok"))
1400 .expectExit(0)
1401 .runAndAssert();
1402 }
1403
1404 @Test
1405 public void test_typedregex6() throws Exception {
1406 AwkTestSupport
1407 .cliTest("GAWK typedregex6")
1408 .argument("-f", gawkFile("typedregex6.awk"))
1409 .stdin(gawkText("typedregex6.in"))
1410 .expectLines(gawkPath("typedregex6.ok"))
1411 .expectExit(0)
1412 .runAndAssert();
1413 }
1414
1415 @Test
1416 public void test_typeof1() throws Exception {
1417 AwkTestSupport
1418 .cliTest("GAWK typeof1")
1419 .argument("-f", gawkFile("typeof1.awk"))
1420 .expectLines(gawkPath("typeof1.ok"))
1421 .expectExit(0)
1422 .runAndAssert();
1423 }
1424
1425 @Test
1426 public void test_typeof2() throws Exception {
1427 AwkTestSupport
1428 .cliTest("GAWK typeof2")
1429 .argument("-f", gawkFile("typeof2.awk"))
1430 .expectLines(gawkPath("typeof2.ok"))
1431 .expectExit(0)
1432 .runAndAssert();
1433 }
1434
1435 @Test
1436 public void test_typeof3() throws Exception {
1437 AwkTestSupport
1438 .cliTest("GAWK typeof3")
1439 .argument("-f", gawkFile("typeof3.awk"))
1440 .expectLines(gawkPath("typeof3.ok"))
1441 .expectExit(0)
1442 .runAndAssert();
1443 }
1444
1445 @Test
1446 public void test_typeof4() throws Exception {
1447 AwkTestSupport
1448 .cliTest("GAWK typeof4")
1449 .argument("-f", gawkFile("typeof4.awk"))
1450 .expectLines(gawkPath("typeof4.ok"))
1451 .expectExit(0)
1452 .runAndAssert();
1453 }
1454
1455 @Test
1456 public void test_typeof5() throws Exception {
1457 AwkTestSupport
1458 .cliTest("GAWK typeof5")
1459 .argument("-f", gawkFile("typeof5.awk"))
1460 .stdin(gawkText("typeof5.in"))
1461 .expectLines(gawkPath("typeof5.ok"))
1462 .expectExit(0)
1463 .runAndAssert();
1464 }
1465
1466 @Test
1467 public void test_typeof6() throws Exception {
1468 AwkTestSupport
1469 .cliTest("GAWK typeof6")
1470 .argument("-f", gawkFile("typeof6.awk"))
1471 .expectLines(gawkPath("typeof6.ok"))
1472 .expectExit(0)
1473 .runAndAssert();
1474 }
1475
1476 @Test
1477 public void test_unicode1() throws Exception {
1478 AwkTestSupport
1479 .cliTest("GAWK unicode1")
1480 .argument("--locale", "en-US")
1481 .argument("-f", gawkFile("unicode1.awk"))
1482 .expectLines(gawkPath("unicode1.ok"))
1483 .expectExit(0)
1484 .runAndAssert();
1485 }
1486
1487 @Test
1488 public void test_manyfiles() throws Exception {
1489 skip(MANUAL_SKIP_REASON);
1490 }
1491
1492 @Test
1493 public void test_argtest() throws Exception {
1494 skip(MANUAL_SKIP_REASON);
1495 }
1496
1497 @Test
1498 public void test_badargs() throws Exception {
1499 skip(MANUAL_SKIP_REASON);
1500 }
1501
1502 @Test
1503 public void test_strftime() throws Exception {
1504 skip(MANUAL_SKIP_REASON);
1505 }
1506
1507 @Test
1508 public void test_devfd() throws Exception {
1509 skip(MANUAL_SKIP_REASON);
1510 }
1511
1512 @Test
1513 public void test_errno() throws Exception {
1514 skip(MANUAL_SKIP_REASON);
1515 }
1516
1517 @Test
1518 public void test_rebuf() throws Exception {
1519 skip(MANUAL_SKIP_REASON);
1520 }
1521
1522 @Test
1523 public void test_rsglstdin() throws Exception {
1524 skip(MANUAL_SKIP_REASON);
1525 }
1526
1527 @Test
1528 public void test_rsstart3() throws Exception {
1529 skip(MANUAL_SKIP_REASON);
1530 }
1531
1532 @Test
1533 public void test_binmode1() throws Exception {
1534 skip(MANUAL_SKIP_REASON);
1535 }
1536
1537 @Test
1538 public void test_devfd1() throws Exception {
1539 skip(MANUAL_SKIP_REASON);
1540 }
1541
1542 @Test
1543 public void test_devfd2() throws Exception {
1544 skip(MANUAL_SKIP_REASON);
1545 }
1546
1547 @Test
1548 public void test_mixed1() throws Exception {
1549 skip(MANUAL_SKIP_REASON);
1550 }
1551
1552 @Test
1553 public void test_beginfile1() throws Exception {
1554 skip("BEGINFILE and ENDFILE are not implemented by Jawk yet.");
1555 }
1556
1557 @Test
1558 public void test_beginfile2() throws Exception {
1559 skip("BEGINFILE and ENDFILE are not implemented by Jawk yet.");
1560 }
1561
1562 @Test
1563 public void test_dumpvars() throws Exception {
1564 skip(MANUAL_SKIP_REASON);
1565 }
1566
1567 @Test
1568 public void test_profile0() throws Exception {
1569 skip(MANUAL_SKIP_REASON);
1570 }
1571
1572 @Test
1573 public void test_profile1() throws Exception {
1574 skip(MANUAL_SKIP_REASON);
1575 }
1576
1577 @Test
1578 public void test_profile2() throws Exception {
1579 skip(MANUAL_SKIP_REASON);
1580 }
1581
1582 @Test
1583 public void test_profile3() throws Exception {
1584 skip(MANUAL_SKIP_REASON);
1585 }
1586
1587 @Test
1588 public void test_profile6() throws Exception {
1589 skip(MANUAL_SKIP_REASON);
1590 }
1591
1592 @Test
1593 public void test_profile7() throws Exception {
1594 skip(MANUAL_SKIP_REASON);
1595 }
1596
1597 @Test
1598 public void test_profile12() throws Exception {
1599 skip(MANUAL_SKIP_REASON);
1600 }
1601
1602 @Test
1603 public void test_nsawk1a() throws Exception {
1604 AwkTestSupport
1605 .cliTest("GAWK nsawk1a")
1606 .argument("-f", gawkFile("nsawk1.awk"))
1607 .expectLines(gawkPath("nsawk1a.ok"))
1608 .expectExit(0)
1609 .runAndAssert();
1610 }
1611
1612 @Test
1613 public void test_nsawk1b() throws Exception {
1614 AwkTestSupport
1615 .cliTest("GAWK nsawk1b")
1616 .argument("-v", "I=fine")
1617 .argument("-f", gawkFile("nsawk1.awk"))
1618 .expectLines(gawkPath("nsawk1b.ok"))
1619 .expectExit(0)
1620 .runAndAssert();
1621 }
1622
1623 @Test
1624 public void test_nsawk1c() throws Exception {
1625 AwkTestSupport
1626 .cliTest("GAWK nsawk1c")
1627 .argument("-v", "awk::I=fine")
1628 .argument("-f", gawkFile("nsawk1.awk"))
1629 .expectLines(gawkPath("nsawk1c.ok"))
1630 .expectExit(0)
1631 .runAndAssert();
1632 }
1633
1634 @Test
1635 public void test_nsawk2a() throws Exception {
1636 AwkTestSupport
1637 .cliTest("GAWK nsawk2a")
1638 .argument("-v", "I=fine")
1639 .argument("-f", gawkFile("nsawk2.awk"))
1640 .expectLines(gawkPath("nsawk2a.ok"))
1641 .expectExit(0)
1642 .runAndAssert();
1643 }
1644
1645 @Test
1646 public void test_nsawk2b() throws Exception {
1647 AwkTestSupport
1648 .cliTest("GAWK nsawk2b")
1649 .argument("-v", "awk::I=fine")
1650 .argument("-f", gawkFile("nsawk2.awk"))
1651 .expectLines(gawkPath("nsawk2b.ok"))
1652 .expectExit(0)
1653 .runAndAssert();
1654 }
1655
1656 @Test
1657 public void test_include2() throws Exception {
1658 skip(MANUAL_SKIP_REASON);
1659 }
1660
1661 @Test
1662 public void test_incdupe() throws Exception {
1663 skip(MANUAL_SKIP_REASON);
1664 }
1665
1666 @Test
1667 public void test_incdupe2() throws Exception {
1668 skip(MANUAL_SKIP_REASON);
1669 }
1670
1671 @Test
1672 public void test_incdupe3() throws Exception {
1673 skip(MANUAL_SKIP_REASON);
1674 }
1675
1676 @Test
1677 public void test_incdupe4() throws Exception {
1678 skip(MANUAL_SKIP_REASON);
1679 }
1680
1681 @Test
1682 public void test_incdupe5() throws Exception {
1683 skip(MANUAL_SKIP_REASON);
1684 }
1685
1686 @Test
1687 public void test_incdupe6() throws Exception {
1688 skip(MANUAL_SKIP_REASON);
1689 }
1690
1691 @Test
1692 public void test_incdupe7() throws Exception {
1693 skip(MANUAL_SKIP_REASON);
1694 }
1695
1696 @Test
1697 public void test_charasbytes() throws Exception {
1698 skip(MANUAL_SKIP_REASON);
1699 }
1700
1701 @Test
1702 public void test_symtab6() throws Exception {
1703 skip(
1704 "This handwritten case compares a fatal gawk SYMTAB diagnostic on stderr and is intentionally skipped in the explicit AwkTestSupport.cliTest suite.");
1705 }
1706
1707 @Test
1708 public void test_symtab8() throws Exception {
1709 skip(MANUAL_SKIP_REASON);
1710 }
1711
1712 @Test
1713 public void test_symtab9() throws Exception {
1714 AwkTestSupport
1715 .cliTest("GAWK symtab9")
1716 .argument("-f", gawkFile("symtab9.awk"))
1717 .expectLines(gawkPath("symtab9.ok"))
1718 .expectExit(0)
1719 .runAndAssert();
1720 }
1721
1722 @Test
1723 public void test_reginttrad() throws Exception {
1724 skip(MANUAL_SKIP_REASON);
1725 }
1726
1727 @Test
1728 public void test_colonwarn() throws Exception {
1729 skip(MANUAL_SKIP_REASON);
1730 }
1731
1732 @Test
1733 public void test_dbugeval() throws Exception {
1734 skip(MANUAL_SKIP_REASON);
1735 }
1736
1737 @Test
1738 public void test_genpot() throws Exception {
1739 skip(MANUAL_SKIP_REASON);
1740 }
1741
1742 @Test
1743 public void test_negtime() throws Exception {
1744 skip(MANUAL_SKIP_REASON);
1745 }
1746
1747 @Test
1748 public void test_watchpoint1() throws Exception {
1749 skip(MANUAL_SKIP_REASON);
1750 }
1751
1752 @Test
1753 public void test_pty1() throws Exception {
1754 skip(MANUAL_SKIP_REASON);
1755 }
1756
1757 @Test
1758 public void test_pty2() throws Exception {
1759 skip(MANUAL_SKIP_REASON);
1760 }
1761
1762 @Test
1763 public void test_arrdbg() throws Exception {
1764 skip(MANUAL_SKIP_REASON);
1765 }
1766
1767 @Test
1768 public void test_sourcesplit() throws Exception {
1769 skip(MANUAL_SKIP_REASON);
1770 }
1771
1772 @Test
1773 public void test_nsbad_cmd() throws Exception {
1774 skip(MANUAL_SKIP_REASON);
1775 }
1776
1777 @Test
1778 public void test_nonfatal1() throws Exception {
1779 skip(MANUAL_SKIP_REASON);
1780 }
1781
1782 @Test
1783 public void test_nsidentifier() throws Exception {
1784 AwkTestSupport
1785 .cliTest("GAWK nsidentifier")
1786 .argument("-v", "SORT=sort")
1787 .argument("-f", gawkFile("nsidentifier.awk"))
1788 .expectLines(gawkPath("nsidentifier.ok"))
1789 .expectExit(0)
1790 .runAndAssert();
1791 }
1792
1793 @Test
1794 public void test_typedregex4() throws Exception {
1795 skip(MANUAL_SKIP_REASON);
1796 }
1797
1798 @Test
1799 public void test_iolint() throws Exception {
1800 skip(MANUAL_SKIP_REASON);
1801 }
1802
1803 }