Debian Codegraph @

test/Makefile.am

raw
1 #
2 # test/Makefile.am --- automake input file for gawk
3 #
4 # Copyright (C) 1988-2025 the Free Software Foundation, Inc.
5 #
6 # This file is part of GAWK, the GNU implementation of the
7 # AWK Programming Language.
8 #
9 # GAWK is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
13 #
14 # GAWK is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 #
23
24 ## process this file with automake to produce Makefile.in
25
26 EXTRA_DIST = \
27 reg \
28 lib \
29 ChangeLog.0 \
30 ChangeLog.1 \
31 Gentests \
32 Maketests \
33 makepmafile.c \
34 README \
35 aadelete1.awk \
36 aadelete1.ok \
37 aadelete2.awk \
38 aadelete2.ok \
39 aarray1.awk \
40 aarray1.ok \
41 aasort.awk \
42 aasort.ok \
43 aasorti.awk \
44 aasorti.ok \
45 addcomma.awk \
46 addcomma.in \
47 addcomma.ok \
48 anchgsub.awk \
49 anchgsub.in \
50 anchgsub.ok \
51 anchor.awk \
52 anchor.in \
53 anchor.ok \
54 apiterm.awk \
55 apiterm.in \
56 apiterm.ok \
57 argarray.awk \
58 argarray.in \
59 argarray.ok \
60 argcasfile.awk \
61 argcasfile.in \
62 argcasfile.ok \
63 argtest.awk \
64 argtest.ok \
65 arrayind1.awk \
66 arrayind1.in \
67 arrayind1.ok \
68 arrayind2.awk \
69 arrayind2.ok \
70 arrayind3.awk \
71 arrayind3.ok \
72 arrayparm.awk \
73 arrayparm.ok \
74 arrayprm2.awk \
75 arrayprm2.ok \
76 arrayprm3.awk \
77 arrayprm3.ok \
78 arrayref.awk \
79 arrayref.ok \
80 arraysort.awk \
81 arraysort.ok \
82 arraysort2.awk \
83 arraysort2.ok \
84 arraytype.awk \
85 arraytype.ok \
86 arraytype-mpfr.ok \
87 arrdbg.awk \
88 arrymem1.awk \
89 arrymem1.ok \
90 arryref2.awk \
91 arryref2.ok \
92 arryref3.awk \
93 arryref3.ok \
94 arryref4.awk \
95 arryref4.ok \
96 arryref5.awk \
97 arryref5.ok \
98 arynasty.awk \
99 arynasty.ok \
100 arynocls.awk \
101 arynocls.in \
102 arynocls.ok \
103 aryprm1.awk \
104 aryprm1.ok \
105 aryprm2.awk \
106 aryprm2.ok \
107 aryprm3.awk \
108 aryprm3.ok \
109 aryprm4.awk \
110 aryprm4.ok \
111 aryprm5.awk \
112 aryprm5.ok \
113 aryprm6.awk \
114 aryprm6.ok \
115 aryprm7.awk \
116 aryprm7.ok \
117 aryprm8.awk \
118 aryprm8.ok \
119 aryprm9.awk \
120 aryprm9.ok \
121 arysubnm.awk \
122 arysubnm.ok \
123 aryunasgn.awk \
124 aryunasgn.ok \
125 ar2fn_elnew_sc.awk \
126 ar2fn_elnew_sc.ok \
127 ar2fn_elnew_sc2.awk \
128 ar2fn_elnew_sc2.ok \
129 ar2fn_fmod.awk \
130 ar2fn_fmod.ok \
131 ar2fn_unxptyp_aref.awk \
132 ar2fn_unxptyp_aref.ok \
133 ar2fn_unxptyp_val.awk \
134 ar2fn_unxptyp_val.ok \
135 asgext.awk \
136 asgext.in \
137 asgext.ok \
138 asort.awk \
139 asort.ok \
140 asortbool.awk \
141 asortbool.ok \
142 asorti.awk \
143 asorti.ok \
144 asortsymtab.awk \
145 asortsymtab.ok \
146 asortsymtab-mpfr.ok \
147 assignnumfield.awk \
148 assignnumfield.in \
149 assignnumfield.ok \
150 assignnumfield2.awk \
151 assignnumfield2.ok \
152 awkpath.ok \
153 back89.awk \
154 back89.in \
155 back89.ok \
156 backgsub.awk \
157 backgsub.in \
158 backgsub.ok \
159 backw.awk \
160 backw.in \
161 backw.ok \
162 backbigs1.awk \
163 backbigs1.in \
164 backbigs1.ok \
165 backsmalls1.awk \
166 backsmalls1.in \
167 backsmalls1.ok \
168 backsmalls2.awk \
169 backsmalls2.ok \
170 badargs.ok \
171 badassign1.awk \
172 badassign1.ok \
173 badbuild.awk \
174 badbuild.in \
175 badbuild.ok \
176 beginfile1.awk \
177 beginfile1.ok \
178 beginfile2.in \
179 beginfile2.ok \
180 beginfile2.sh \
181 binmode1.ok \
182 callparam.awk \
183 callparam.ok \
184 charasbytes.awk \
185 charasbytes.in \
186 charasbytes.ok \
187 checknegtime.awk \
188 check_retest.awk \
189 childin.awk \
190 childin.in \
191 childin.ok \
192 clobber.awk \
193 clobber.ok \
194 clos1way.awk \
195 clos1way.ok \
196 clos1way2.awk \
197 clos1way2.in \
198 clos1way2.ok \
199 clos1way3.awk \
200 clos1way3.ok \
201 clos1way4.awk \
202 clos1way4.ok \
203 clos1way5.awk \
204 clos1way5.ok \
205 clos1way6.awk \
206 clos1way6.ok \
207 closebad.awk \
208 closebad.ok \
209 close_status.awk \
210 close_status.ok \
211 clsflnam.awk \
212 clsflnam.in \
213 clsflnam.ok \
214 cmdlinefsbacknl.sh \
215 cmdlinefsbacknl.ok \
216 cmdlinefsbacknl2.sh \
217 cmdlinefsbacknl2.ok \
218 colonwarn.awk \
219 colonwarn.in \
220 colonwarn.ok \
221 commas.awk \
222 commas.ok \
223 compare.awk \
224 compare.in \
225 compare.ok \
226 compare2.awk \
227 compare2.ok \
228 concat1.awk \
229 concat1.in \
230 concat1.ok \
231 concat2.awk \
232 concat2.ok \
233 concat3.awk \
234 concat3.ok \
235 concat4.awk \
236 concat4.in \
237 concat4.ok \
238 concat5.awk \
239 concat5.ok \
240 convfmt.awk \
241 convfmt.ok \
242 crlf.awk \
243 crlf.ok \
244 csv1.awk \
245 csv1.in \
246 csv1.ok \
247 csv2.awk \
248 csv2.ok \
249 csv3.awk \
250 csv3.in \
251 csv3.ok \
252 csvodd.awk \
253 csvodd.in \
254 csvodd.ok \
255 datanonl.awk \
256 datanonl.in \
257 datanonl.ok \
258 dbugarray1.awk \
259 dbugarray1.in \
260 dbugarray1.ok \
261 dbugarray2.awk \
262 dbugarray2.in \
263 dbugarray2.ok \
264 dbugarray3.awk \
265 dbugarray3.in \
266 dbugarray3.ok \
267 dbugarray4.awk \
268 dbugarray4.in \
269 dbugarray4.ok \
270 dbugeval.in \
271 dbugeval.ok \
272 dbugeval2.awk \
273 dbugeval2.in \
274 dbugeval2.ok \
275 dbugeval3.awk \
276 dbugeval3.in \
277 dbugeval3.ok \
278 dbugeval4.awk \
279 dbugeval4.in \
280 dbugeval4.ok \
281 dbugtypedre1.awk \
282 dbugtypedre1.in \
283 dbugtypedre1.ok \
284 dbugtypedre2.awk \
285 dbugtypedre2.in \
286 dbugtypedre2.ok \
287 defref.awk \
288 defref.ok \
289 delargv.awk \
290 delargv.ok \
291 delarpm2.awk \
292 delarpm2.ok \
293 delarprm.awk \
294 delarprm.ok \
295 delfunc.awk \
296 delfunc.ok \
297 delmessy.awk \
298 delmessy.ok \
299 delsub.awk \
300 delsub.ok \
301 devfd.in1 \
302 devfd.in2 \
303 devfd.in4 \
304 devfd.in5 \
305 devfd.ok \
306 devfd1.awk \
307 devfd1.ok \
308 devfd2.ok \
309 dfacheck1.awk \
310 dfacheck1.in \
311 dfacheck1.ok \
312 dfacheck2.awk \
313 dfacheck2.in \
314 dfacheck2.ok \
315 dfamb1.awk \
316 dfamb1.in \
317 dfamb1.ok \
318 dfastress.awk \
319 dfastress.ok \
320 divzero.awk \
321 divzero.ok \
322 divzero2.awk \
323 divzero2.ok \
324 double1.awk \
325 double1.ok \
326 double2.awk \
327 double2.ok \
328 dtdgport.awk \
329 dumpvars.in \
330 dumpvars.ok \
331 dynlj.awk \
332 dynlj.ok \
333 elemnew1.awk \
334 elemnew1.ok \
335 elemnew2.awk \
336 elemnew2.ok \
337 elemnew3.awk \
338 elemnew3.ok \
339 escapebrace.awk \
340 escapebrace.in \
341 escapebrace.ok \
342 eofsplit.awk \
343 eofsplit.ok \
344 eofsrc1a.awk \
345 eofsrc1b.awk \
346 eofsrc1.ok \
347 errno.awk \
348 errno.in \
349 errno.ok \
350 exit.ok \
351 exit.sh \
352 exit2.awk \
353 exit2.ok \
354 exitval1.awk \
355 exitval1.ok \
356 exitval2.awk \
357 exitval2.ok \
358 exitval2.w32 \
359 exitval3.awk \
360 exitval3.ok \
361 fcall_exit.awk \
362 fcall_exit.ok \
363 fcall_exit2.awk \
364 fcall_exit2.in \
365 fcall_exit2.ok \
366 fflush.ok \
367 fflush.sh \
368 fieldassign.awk \
369 fieldassign.in \
370 fieldassign.ok \
371 fieldwdth.awk \
372 fieldwdth.in \
373 fieldwdth.ok \
374 filefuncs.awk \
375 filefuncs.ok \
376 fix-fmtspcl.awk \
377 fldchg.awk \
378 fldchg.in \
379 fldchg.ok \
380 fldchgnf.awk \
381 fldchgnf.in \
382 fldchgnf.ok \
383 fldterm.awk \
384 fldterm.in \
385 fldterm.ok \
386 fmtspcl-mpfr.ok \
387 fmtspcl.awk \
388 fmtspcl.tok \
389 fmttest.awk \
390 fmttest.ok \
391 fnamedat.awk \
392 fnamedat.in \
393 fnamedat.ok \
394 fnarray.awk \
395 fnarray.ok \
396 fnarray2.awk \
397 fnarray2.in \
398 fnarray2.ok \
399 fnarydel-mpfr.ok \
400 fnarydel.awk \
401 fnarydel.ok \
402 fnaryscl.awk \
403 fnaryscl.ok \
404 fnasgnm.awk \
405 fnasgnm.in \
406 fnasgnm.ok \
407 fnmatch.awk \
408 fnmatch.ok \
409 fnmisc.awk \
410 fnmisc.ok \
411 fnparydl-mpfr.ok \
412 fnparydl.awk \
413 fnparydl.ok \
414 forcenum.awk \
415 forcenum.ok \
416 fordel.awk \
417 fordel.ok \
418 fork.awk \
419 fork.ok \
420 fork2.awk \
421 fork2.ok \
422 forref.awk \
423 forref.ok \
424 forsimp.awk \
425 forsimp.ok \
426 fpat1.awk \
427 fpat1.in \
428 fpat1.ok \
429 fpat2.awk \
430 fpat2.ok \
431 fpat3.awk \
432 fpat3.in \
433 fpat3.ok \
434 fpat4.awk \
435 fpat4.ok \
436 fpat5.awk \
437 fpat5.in \
438 fpat5.ok \
439 fpat6.awk \
440 fpat6.in \
441 fpat6.ok \
442 fpat7.awk \
443 fpat7.in \
444 fpat7.ok \
445 fpat8.awk \
446 fpat8.in \
447 fpat8.ok \
448 fpat9.awk \
449 fpat9.in \
450 fpat9.ok \
451 fpatnull.awk \
452 fpatnull.in \
453 fpatnull.ok \
454 fsbs.awk \
455 fsbs.in \
456 fsbs.ok \
457 fscaret.awk \
458 fscaret.in \
459 fscaret.ok \
460 fsfwfs.awk \
461 fsfwfs.in \
462 fsfwfs.ok \
463 fsnul1.awk \
464 fsnul1.in \
465 fsnul1.ok \
466 fsrs.awk \
467 fsrs.in \
468 fsrs.ok \
469 fsspcoln.awk \
470 fsspcoln.in \
471 fsspcoln.ok \
472 fstabplus.awk \
473 fstabplus.in \
474 fstabplus.ok \
475 fts.awk \
476 functab1.awk \
477 functab1.ok \
478 functab2.awk \
479 functab2.ok \
480 functab3.awk \
481 functab3.ok \
482 functab4.awk \
483 functab4.ok \
484 functab5.awk \
485 functab5.ok \
486 functab6.awk \
487 functab6.ok \
488 funlen.awk \
489 funlen.in \
490 funlen.ok \
491 funsemnl.awk \
492 funsemnl.ok \
493 funsmnam.awk \
494 funsmnam.ok \
495 funstack.awk \
496 funstack.in \
497 funstack.ok \
498 fwtest.awk \
499 fwtest.in \
500 fwtest.ok \
501 fwtest2.awk \
502 fwtest2.in \
503 fwtest2.ok \
504 fwtest3.awk \
505 fwtest3.in \
506 fwtest3.ok \
507 fwtest4.awk \
508 fwtest4.in \
509 fwtest4.ok \
510 fwtest5.awk \
511 fwtest5.in \
512 fwtest5.ok \
513 fwtest6.awk \
514 fwtest6.in \
515 fwtest6.ok \
516 fwtest7.awk \
517 fwtest7.in \
518 fwtest7.ok \
519 fwtest8.awk \
520 fwtest8.in \
521 fwtest8.ok \
522 genpot.awk \
523 genpot.ok \
524 gensub.awk \
525 gensub.in \
526 gensub.ok \
527 gensub2.awk \
528 gensub2.ok \
529 gensub3.awk \
530 gensub3.in \
531 gensub3.ok \
532 gensub4.awk \
533 gensub4.ok \
534 getfile.awk \
535 getfile.ok \
536 getline.awk \
537 getline.in \
538 getline.ok \
539 getline2.awk \
540 getline2.ok \
541 getline3.awk \
542 getline3.ok \
543 getline4.awk \
544 getline4.in \
545 getline4.ok \
546 getline5.awk \
547 getline5.ok \
548 getlnbuf.awk \
549 getlnbuf.in \
550 getlnbuf.ok \
551 getlndir.awk \
552 getlndir.ok \
553 getlnfa.awk \
554 getlnfa.ok \
555 getlnhd.awk \
556 getlnhd.ok \
557 getnr2tb.awk \
558 getnr2tb.in \
559 getnr2tb.ok \
560 getnr2tm.awk \
561 getnr2tm.in \
562 getnr2tm.ok \
563 gnuops2.awk \
564 gnuops2.ok \
565 gnuops3.awk \
566 gnuops3.ok \
567 gnureops.awk \
568 gnureops.ok \
569 gsubasgn.awk \
570 gsubasgn.ok \
571 gsubind.awk \
572 gsubind.ok \
573 gsubnulli18n.awk \
574 gsubnulli18n.ok \
575 gsubtest.awk \
576 gsubtest.ok \
577 gsubtst2.awk \
578 gsubtst2.ok \
579 gsubtst3.awk \
580 gsubtst3.in \
581 gsubtst3.ok \
582 gsubtst4.awk \
583 gsubtst4.ok \
584 gsubtst5.awk \
585 gsubtst5.in \
586 gsubtst5.ok \
587 gsubtst6.awk \
588 gsubtst6.ok \
589 gsubtst7.awk \
590 gsubtst7.in \
591 gsubtst7.ok \
592 gsubtst8.awk \
593 gsubtst8.in \
594 gsubtst8.ok \
595 gtlnbufv.awk \
596 hello.awk \
597 hex.awk \
598 hex.ok \
599 hex2.awk \
600 hex2.in \
601 hex2.ok \
602 hsprint.awk \
603 hsprint.ok \
604 icasefs.awk \
605 icasefs.ok \
606 icasers.awk \
607 icasers.in \
608 icasers.ok \
609 id.awk \
610 id.ok \
611 igncdym.awk \
612 igncdym.in \
613 igncdym.ok \
614 igncfs.awk \
615 igncfs.in \
616 igncfs.ok \
617 ignrcas2.awk \
618 ignrcas2.ok \
619 ignrcas3.awk \
620 ignrcas3.ok \
621 ignrcas4.awk \
622 ignrcas4.ok \
623 ignrcase.awk \
624 ignrcase.in \
625 ignrcase.ok \
626 incdupe2.ok \
627 incdupe3.ok \
628 incdupe4.ok \
629 incdupe5.ok \
630 incdupe6.ok \
631 incdupe7.ok \
632 incdupe.ok \
633 inchello.awk \
634 inclib.awk \
635 include2.ok \
636 include.awk \
637 include.ok \
638 indirectbuiltin.awk \
639 indirectbuiltin.ok \
640 indirectbuiltin2.awk \
641 indirectbuiltin2.ok \
642 indirectbuiltin3.awk \
643 indirectbuiltin3.ok \
644 indirectbuiltin4.awk \
645 indirectbuiltin4.ok \
646 indirectbuiltin5.awk \
647 indirectbuiltin5.ok \
648 indirectbuiltin6.awk \
649 indirectbuiltin6.ok \
650 indirectcall2.awk \
651 indirectcall2.ok \
652 indirectcall3.awk \
653 indirectcall3.ok \
654 indirectcall.awk \
655 indirectcall.in \
656 indirectcall.ok \
657 inf-nan-torture.awk \
658 inf-nan-torture.in \
659 inf-nan-torture.ok \
660 inftest.awk \
661 inftest.ok \
662 inplace1.1.ok \
663 inplace1.2.ok \
664 inplace.1.in \
665 inplace1.ok \
666 inplace2.1.bak.ok \
667 inplace2.1.ok \
668 inplace2.2.bak.ok \
669 inplace2.2.ok \
670 inplace2bcomp.1.ok \
671 inplace2bcomp.1.orig.ok \
672 inplace2bcomp.2.ok \
673 inplace2bcomp.2.orig.ok \
674 inplace2bcomp.ok \
675 inplace.2.in \
676 inplace2.ok \
677 inplace3.1.bak.ok \
678 inplace3.1.ok \
679 inplace3.2.bak.ok \
680 inplace3.2.ok \
681 inplace3bcomp.1.ok \
682 inplace3bcomp.1.orig.ok \
683 inplace3bcomp.2.ok \
684 inplace3bcomp.2.orig.ok \
685 inplace3bcomp.ok \
686 inplace3.ok \
687 inplace.in \
688 inpref.awk \
689 inpref.in \
690 inpref.ok \
691 inputred.awk \
692 inputred.ok \
693 intarray.awk \
694 intarray.ok \
695 intest.awk \
696 intest.ok \
697 intformat.awk \
698 intformat.ok \
699 intprec.awk \
700 intprec.ok \
701 iobug1.awk \
702 iobug1.ok \
703 iolint.awk \
704 iolint.ok \
705 isarrayunset.awk \
706 isarrayunset.ok \
707 jarebug.awk \
708 jarebug.in \
709 jarebug.ok \
710 jarebug.sh \
711 lc_num1.awk \
712 lc_num1.ok \
713 leaddig.awk \
714 leaddig.ok \
715 leadnl.awk \
716 leadnl.in \
717 leadnl.ok \
718 lint.awk \
719 lint.ok \
720 lintexp.awk \
721 lintexp.ok \
722 lintindex.awk \
723 lintindex.ok \
724 lintint.awk \
725 lintint.ok \
726 lintlength.awk \
727 lintlength.ok \
728 lintold.awk \
729 lintold.in \
730 lintold.ok \
731 lintplus.awk \
732 lintplus.ok \
733 lintplus2.awk \
734 lintplus2.ok \
735 lintplus3.awk \
736 lintplus3.in \
737 lintplus3.ok \
738 lintset.awk \
739 lintset.ok \
740 lintwarn.awk \
741 lintwarn.ok \
742 litoct.awk \
743 litoct.in \
744 litoct.ok \
745 localenl.ok \
746 localenl.sh \
747 longsub.awk \
748 longsub.in \
749 longsub.ok \
750 longwrds.awk \
751 longwrds.in \
752 longwrds.ok \
753 manglprm.awk \
754 manglprm.in \
755 manglprm.ok \
756 manyfiles.awk \
757 manyfiles.ok \
758 mdim1.awk \
759 mdim1.ok \
760 mdim2.awk \
761 mdim2.ok \
762 mdim3.awk \
763 mdim3.ok \
764 mdim4.awk \
765 mdim4.in \
766 mdim4.ok \
767 mdim5.awk \
768 mdim5.ok \
769 mdim6.awk \
770 mdim6.ok \
771 mdim7.awk \
772 mdim7.ok \
773 mdim8.awk \
774 mdim8.in \
775 mdim8.ok \
776 modifiers.sh \
777 modifiers.ok \
778 muldimposix.awk \
779 muldimposix.ok \
780 match1.awk \
781 match1.ok \
782 match2.awk \
783 match2.ok \
784 match3.awk \
785 match3.in \
786 match3.ok \
787 match4.awk \
788 match4.ok \
789 matchuninitialized.awk \
790 matchuninitialized.ok \
791 math.awk \
792 math.ok \
793 mbfw1.awk \
794 mbfw1.in \
795 mbfw1.ok \
796 mbprintf1.awk \
797 mbprintf1.in \
798 mbprintf1.ok \
799 mbprintf2.awk \
800 mbprintf2.ok \
801 mbprintf3.awk \
802 mbprintf3.in \
803 mbprintf3.ok \
804 mbprintf4.awk \
805 mbprintf4.in \
806 mbprintf4.ok \
807 mbprintf5.awk \
808 mbprintf5.in \
809 mbprintf5.ok \
810 mbstr1.awk \
811 mbstr1.ok \
812 mbstr2.awk \
813 mbstr2.in \
814 mbstr2.ok \
815 membug1.awk \
816 membug1.in \
817 membug1.ok \
818 memleak.awk \
819 memleak.ok \
820 memleak2.awk \
821 memleak2.ok \
822 memleak3.awk \
823 memleak3.ok \
824 messages.awk \
825 minusstr.awk \
826 minusstr.ok \
827 mixed1.ok \
828 mktime.awk \
829 mktime.in \
830 mktime.ok \
831 mmap8k.awk \
832 mmap8k.in \
833 mmap8k.ok \
834 mpfrbigint.awk \
835 mpfrbigint.ok \
836 mpfrbigint2.awk \
837 mpfrbigint2.in \
838 mpfrbigint2.ok \
839 mpfrcase.awk \
840 mpfrcase.in \
841 mpfrcase.ok \
842 mpfrcase2.awk \
843 mpfrcase2.in \
844 mpfrcase2.ok \
845 mpfrexprange.awk \
846 mpfrexprange.ok \
847 mpfrfield.awk \
848 mpfrfield.in \
849 mpfrfield.ok \
850 mpfrieee.awk \
851 mpfrieee.ok \
852 mpfrmemok1.awk \
853 mpfrmemok1.ok \
854 mpfrnegzero.awk \
855 mpfrnegzero.ok \
856 mpfrnegzero2.awk \
857 mpfrnegzero2.ok \
858 mpfrnonum.awk \
859 mpfrnonum.in \
860 mpfrnonum.ok \
861 mpfrnr.awk \
862 mpfrnr.in \
863 mpfrnr.ok \
864 mpfrrem.awk \
865 mpfrrem.ok \
866 mpfrrnd.awk \
867 mpfrrnd.ok \
868 mpfrrndeval.awk \
869 mpfrrndeval.ok \
870 mpfrsort.awk \
871 mpfrsort.ok \
872 mpfrsqrt.awk \
873 mpfrsqrt.ok \
874 mpfrstrtonum.awk \
875 mpfrstrtonum.ok \
876 mpfruplus.ok \
877 mpfranswer42.awk \
878 mpfranswer42.ok \
879 mpgforcenum.awk \
880 mpgforcenum.ok \
881 mtchi18n.awk \
882 mtchi18n.in \
883 mtchi18n.ok \
884 mtchi18n2.awk \
885 mtchi18n2.ok \
886 nasty.awk \
887 nasty.ok \
888 nasty2.awk \
889 nasty2.ok \
890 nastyparm.awk \
891 nastyparm.ok \
892 negexp.awk \
893 negexp.ok \
894 negrange.awk \
895 negrange.ok \
896 negtime.awk \
897 negtime.ok \
898 nested.awk \
899 nested.in \
900 nested.ok \
901 next.ok \
902 next.sh \
903 nfldstr.awk \
904 nfldstr.in \
905 nfldstr.ok \
906 nfloop.awk \
907 nfloop.ok \
908 nfneg.awk \
909 nfneg.ok \
910 nfset.awk \
911 nfset.in \
912 nfset.ok \
913 nlfldsep.awk \
914 nlfldsep.in \
915 nlfldsep.ok \
916 nlinstr.awk \
917 nlinstr.in \
918 nlinstr.ok \
919 nlstrina.awk \
920 nlstrina.ok \
921 nlstringtest.awk \
922 nlstringtest.ok \
923 nlstringtest.po \
924 nlstringtest-nogettext.ok \
925 fr \
926 noeffect.awk \
927 noeffect.ok \
928 nofile.ok \
929 nofmtch.awk \
930 nofmtch.ok \
931 noloop1.awk \
932 noloop1.in \
933 noloop1.ok \
934 noloop2.awk \
935 noloop2.in \
936 noloop2.ok \
937 nondec.awk \
938 nondec.ok \
939 nondec2.awk \
940 nondec2.ok \
941 nonfatal1.awk \
942 nonfatal1.ok \
943 nonfatal2.awk \
944 nonfatal2.ok \
945 nonfatal3.awk \
946 nonfatal3.ok \
947 nonl.awk \
948 nonl.in \
949 nonl.ok \
950 noparms.awk \
951 noparms.ok \
952 nors.in \
953 nors.ok \
954 nsawk1.awk \
955 nsawk1a.ok \
956 nsawk1b.ok \
957 nsawk1c.ok \
958 nsawk2.awk \
959 nsawk2a.ok \
960 nsawk2b.ok \
961 nsbad.awk \
962 nsbad.ok \
963 nsbad2.awk \
964 nsbad2.ok \
965 nsbad3.awk \
966 nsbad3.ok \
967 nsbad_cmd.ok \
968 nsforloop.awk \
969 nsforloop.ok \
970 nsfuncrecurse.awk \
971 nsfuncrecurse.ok \
972 nsidentifier.awk \
973 nsidentifier.ok \
974 nsindirect1.awk \
975 nsindirect1.ok \
976 nsindirect2.awk \
977 nsindirect2.ok \
978 nsprof1.awk \
979 nsprof1.ok \
980 nsprof2.awk \
981 nsprof2.ok \
982 nsprof3.awk \
983 nsprof3.ok \
984 nulinsrc.awk \
985 nulinsrc.ok \
986 nulrsend.awk \
987 nulrsend.in \
988 nulrsend.ok \
989 numindex.awk \
990 numindex.in \
991 numindex.ok \
992 numrange.awk \
993 numrange.ok \
994 numrange-mpfr.ok \
995 numstr1.awk \
996 numstr1.ok \
997 numsubstr.awk \
998 numsubstr.in \
999 numsubstr.ok \
1000 octdec.awk \
1001 octdec.ok \
1002 octsub.awk \
1003 octsub.ok \
1004 ofmt.awk \
1005 ofmt.in \
1006 ofmt.ok \
1007 ofmta.awk \
1008 ofmta.ok \
1009 ofmtbig.awk \
1010 ofmtbig.in \
1011 ofmtbig.ok \
1012 ofmtfidl.awk \
1013 ofmtfidl.in \
1014 ofmtfidl.ok \
1015 ofmts.awk \
1016 ofmts.in \
1017 ofmts.ok \
1018 ofmtstrnum.awk \
1019 ofmtstrnum.ok \
1020 ofs1.awk \
1021 ofs1.in \
1022 ofs1.ok \
1023 onlynl.awk \
1024 onlynl.in \
1025 onlynl.ok \
1026 opasnidx.awk \
1027 opasnidx.ok \
1028 opasnslf.awk \
1029 opasnslf.ok \
1030 ordchr.awk \
1031 ordchr.ok \
1032 ordchr2.ok \
1033 out1.ok \
1034 out2.ok \
1035 out3.ok \
1036 paramasfunc1.awk \
1037 paramasfunc1.ok \
1038 paramasfunc2.awk \
1039 paramasfunc2.ok \
1040 paramdup.awk \
1041 paramdup.ok \
1042 paramres.awk \
1043 paramres.ok \
1044 paramtyp.awk \
1045 paramtyp.ok \
1046 paramuninitglobal.awk \
1047 paramuninitglobal.ok \
1048 parse1.awk \
1049 parse1.in \
1050 parse1.ok \
1051 parsefld.awk \
1052 parsefld.in \
1053 parsefld.ok \
1054 parseme.awk \
1055 parseme.ok \
1056 patsplit.awk \
1057 patsplit.ok \
1058 pcntplus.awk \
1059 pcntplus.ok \
1060 pid.awk \
1061 pid.ok \
1062 pid.sh \
1063 pipeio1.awk \
1064 pipeio1.ok \
1065 pipeio2.awk \
1066 pipeio2.in \
1067 pipeio2.ok \
1068 pma.ok \
1069 posix2008sub.awk \
1070 posix2008sub.ok \
1071 posix_compare.awk \
1072 posix_compare.ok \
1073 posix.awk \
1074 posix.in \
1075 posix.ok \
1076 poundbang.awk \
1077 prdupval.awk \
1078 prdupval.in \
1079 prdupval.ok \
1080 prec.awk \
1081 prec.ok \
1082 printf-corners.awk \
1083 printf-corners.ok \
1084 printf-corners-mpfr.ok \
1085 printf0.awk \
1086 printf0.ok \
1087 printf1.awk \
1088 printf1.ok \
1089 printfbad1.awk \
1090 printfbad1.ok \
1091 printfbad2.awk \
1092 printfbad2.in \
1093 printfbad2.ok \
1094 printfbad3.awk \
1095 printfbad3.ok \
1096 printfbad4.awk \
1097 printfbad4.ok \
1098 printfchar.awk \
1099 printfchar.ok \
1100 printfloat.awk \
1101 printhuge.awk \
1102 printhuge.ok \
1103 printlang.awk \
1104 prmarscl.awk \
1105 prmarscl.ok \
1106 prmreuse.awk \
1107 prmreuse.ok \
1108 procinfs.awk \
1109 procinfs.ok \
1110 profile0.awk \
1111 profile0.in \
1112 profile0.ok \
1113 profile2.ok \
1114 profile3.awk \
1115 profile3.ok \
1116 profile4.awk \
1117 profile4.ok \
1118 profile5.awk \
1119 profile5.ok \
1120 profile6.awk \
1121 profile6.ok \
1122 profile7.awk \
1123 profile7.ok \
1124 profile8.awk \
1125 profile8.ok \
1126 profile9.awk \
1127 profile9.ok \
1128 profile10.awk \
1129 profile10.ok \
1130 profile11.awk \
1131 profile11.ok \
1132 profile12.awk \
1133 profile12.in \
1134 profile12.ok \
1135 profile13.awk \
1136 profile13.ok \
1137 profile14.awk \
1138 profile14.ok \
1139 profile15.awk \
1140 profile15.ok \
1141 profile16.awk \
1142 profile16.ok \
1143 profile17.awk \
1144 profile17.ok \
1145 prt1eval.awk \
1146 prt1eval.ok \
1147 prtoeval.awk \
1148 prtoeval.ok \
1149 pty1.awk \
1150 pty1.ok \
1151 pty2.awk \
1152 pty2.ok \
1153 rand-mpfr.ok \
1154 rand.awk \
1155 rand.ok \
1156 randtest.sh \
1157 randtest.ok \
1158 range1.awk \
1159 range1.in \
1160 range1.ok \
1161 range2.awk \
1162 range2.ok \
1163 readall1.awk \
1164 readall2.awk \
1165 readall.ok \
1166 readbuf.awk \
1167 readbuf.ok \
1168 readdir.awk \
1169 readdir0.awk \
1170 readdir_retest.awk \
1171 readfile2.awk \
1172 readfile2.ok \
1173 rebrackloc.awk \
1174 rebrackloc.in \
1175 rebrackloc.ok \
1176 rebt8b1.awk \
1177 rebt8b1.ok \
1178 rebt8b2.awk \
1179 rebt8b2.ok \
1180 rebuf.awk \
1181 rebuf.in \
1182 rebuf.ok \
1183 rebuild.awk \
1184 rebuild.in \
1185 rebuild.ok \
1186 redfilnm.awk \
1187 redfilnm.in \
1188 redfilnm.ok \
1189 regeq.awk \
1190 regeq.in \
1191 regeq.ok \
1192 regex3minus.awk \
1193 regex3minus.ok \
1194 regexpbad.awk \
1195 regexpbad.ok \
1196 regexpbrack.awk \
1197 regexpbrack.in \
1198 regexpbrack.ok \
1199 regexpbrack2.awk \
1200 regexpbrack2.in \
1201 regexpbrack2.ok \
1202 regexprange.awk \
1203 regexprange.ok \
1204 regexsub.awk \
1205 regexsub.ok \
1206 reginttrad.awk \
1207 reginttrad.ok \
1208 regnul1.awk \
1209 regnul1.ok \
1210 regnul2.awk \
1211 regnul2.ok \
1212 regrange.awk \
1213 regrange.ok \
1214 regtest.sh \
1215 regx8bit.awk \
1216 regx8bit.ok \
1217 reindops.awk \
1218 reindops.in \
1219 reindops.ok \
1220 reint.awk \
1221 reint.in \
1222 reint.ok \
1223 reint2.awk \
1224 reint2.in \
1225 reint2.ok \
1226 reparse.awk \
1227 reparse.in \
1228 reparse.ok \
1229 resplit.awk \
1230 resplit.in \
1231 resplit.ok \
1232 revout.awk \
1233 revout.ok \
1234 revtwoway.awk \
1235 revtwoway.ok \
1236 re_test.awk \
1237 re_test.ok \
1238 rri1.awk \
1239 rri1.in \
1240 rri1.ok \
1241 rs.awk \
1242 rs.in \
1243 rs.ok \
1244 rscompat.awk \
1245 rscompat.in \
1246 rscompat.ok \
1247 rsgetline.awk \
1248 rsgetline.in \
1249 rsgetline.ok \
1250 rsglstdin.ok \
1251 rsnul1nl.awk \
1252 rsnul1nl.in \
1253 rsnul1nl.ok \
1254 rsnulbig.ok \
1255 rsnulbig2.ok \
1256 rsnullre.awk \
1257 rsnullre.in \
1258 rsnullre.ok \
1259 rsnulw.awk \
1260 rsnulw.in \
1261 rsnulw.ok \
1262 rsstart1.awk \
1263 rsstart1.in \
1264 rsstart1.ok \
1265 rsstart2.awk \
1266 rsstart2.in \
1267 rsstart2.ok \
1268 rsstart3.ok \
1269 rstest1.awk \
1270 rstest1.ok \
1271 rstest2.awk \
1272 rstest2.ok \
1273 rstest3.awk \
1274 rstest3.ok \
1275 rstest4.awk \
1276 rstest4.ok \
1277 rstest5.awk \
1278 rstest5.ok \
1279 rstest6.awk \
1280 rstest6.in \
1281 rstest6.ok \
1282 rswhite.awk \
1283 rswhite.in \
1284 rswhite.ok \
1285 rtlen.ok \
1286 rtlen.sh \
1287 rtlenmb.ok \
1288 rtlen01.ok \
1289 rtlen01.sh \
1290 rwarray.awk \
1291 rwarray.in \
1292 rwarray.ok \
1293 sandbox1.awk \
1294 sandbox1.ok \
1295 scalar.awk \
1296 scalar.ok \
1297 sclforin.awk \
1298 sclforin.ok \
1299 sclifin.awk \
1300 sclifin.ok \
1301 setrec0.awk \
1302 setrec0.in \
1303 setrec0.ok \
1304 setrec1.awk \
1305 setrec1.ok \
1306 shadow.awk \
1307 shadow.ok \
1308 shadowbuiltin.awk \
1309 shadowbuiltin.ok \
1310 sigpipe1.awk \
1311 sigpipe1.ok \
1312 sort1.awk \
1313 sort1.ok \
1314 sortempty.awk \
1315 sortempty.ok \
1316 sortfor.awk \
1317 sortfor.in \
1318 sortfor.ok \
1319 sortfor2.awk \
1320 sortfor2.in \
1321 sortfor2.ok \
1322 sortglos.awk \
1323 sortglos.in \
1324 sortglos.ok \
1325 sortu.awk \
1326 sortu.ok \
1327 sourcesplit.ok \
1328 space.ok \
1329 spacere.awk \
1330 spacere.ok \
1331 split_after_fpat.awk \
1332 split_after_fpat.in \
1333 split_after_fpat.ok \
1334 splitarg4.awk \
1335 splitarg4.in \
1336 splitarg4.ok \
1337 splitargv.awk \
1338 splitargv.in \
1339 splitargv.ok \
1340 splitarr.awk \
1341 splitarr.ok \
1342 splitdef.awk \
1343 splitdef.ok \
1344 splitvar.awk \
1345 splitvar.in \
1346 splitvar.ok \
1347 splitwht.awk \
1348 splitwht.ok \
1349 splitwht2.awk \
1350 splitwht2.ok \
1351 sprintfc.awk \
1352 sprintfc.in \
1353 sprintfc.ok \
1354 status-close.awk \
1355 status-close.ok \
1356 strcat1.awk \
1357 strcat1.ok \
1358 strfieldnum.awk \
1359 strfieldnum.in \
1360 strfieldnum.ok \
1361 strftime.awk \
1362 strftlng.awk \
1363 strftlng.ok \
1364 strftfld.awk \
1365 strftfld.in \
1366 strftfld.ok \
1367 strnum1.awk \
1368 strnum1.ok \
1369 strnum2.awk \
1370 strnum2.ok \
1371 strsubscript.awk \
1372 strsubscript.ok \
1373 strtod.awk \
1374 strtod.in \
1375 strtod.ok \
1376 strtonum.awk \
1377 strtonum.ok \
1378 strtonum1.awk \
1379 strtonum1.ok \
1380 stupid1.awk \
1381 stupid1.ok \
1382 stupid2.awk \
1383 stupid2.ok \
1384 stupid3.awk \
1385 stupid3.ok \
1386 stupid4.awk \
1387 stupid4.ok \
1388 stupid5.awk \
1389 stupid5.ok \
1390 subamp.awk \
1391 subamp.in \
1392 subamp.ok \
1393 subback.awk \
1394 subback.in \
1395 subback.ok \
1396 subi18n.awk \
1397 subi18n.ok \
1398 subsepnm.awk \
1399 subsepnm.ok \
1400 subslash.awk \
1401 subslash.ok \
1402 substr.awk \
1403 substr.ok \
1404 swaplns.awk \
1405 swaplns.in \
1406 swaplns.ok \
1407 switch2.awk \
1408 switch2.ok \
1409 symtab1.awk \
1410 symtab1.ok \
1411 symtab2.awk \
1412 symtab2.ok \
1413 symtab3.awk \
1414 symtab3.ok \
1415 symtab4.awk \
1416 symtab4.in \
1417 symtab4.ok \
1418 symtab5.awk \
1419 symtab5.in \
1420 symtab5.ok \
1421 symtab6.awk \
1422 symtab6.ok \
1423 symtab7.awk \
1424 symtab7.in \
1425 symtab7.ok \
1426 symtab8.awk \
1427 symtab8.in \
1428 symtab8.ok \
1429 symtab9.awk \
1430 symtab9.ok \
1431 symtab10.awk \
1432 symtab10.ok \
1433 symtab11.awk \
1434 symtab11.ok \
1435 symtab12.awk \
1436 symtab12.ok \
1437 synerr1.awk \
1438 synerr1.ok \
1439 synerr2.awk \
1440 synerr2.ok \
1441 synerr3.awk \
1442 synerr3.ok \
1443 tailrecurse.awk \
1444 tailrecurse.ok \
1445 testext.ok \
1446 testext-mpfr.ok \
1447 time.awk \
1448 time.ok \
1449 timeout.awk \
1450 timeout.ok \
1451 tradanch.awk \
1452 tradanch.in \
1453 tradanch.ok \
1454 trailbs.awk \
1455 trailbs.in \
1456 trailbs.ok \
1457 tweakfld.awk \
1458 tweakfld.in \
1459 tweakfld.ok \
1460 typedregex1.awk \
1461 typedregex1.ok \
1462 typedregex2.awk \
1463 typedregex2.ok \
1464 typedregex3.awk \
1465 typedregex3.ok \
1466 typedregex4.awk \
1467 typedregex4.ok \
1468 typedregex5.awk \
1469 typedregex5.in \
1470 typedregex5.ok \
1471 typedregex6.awk \
1472 typedregex6.in \
1473 typedregex6.ok \
1474 typeof1.awk \
1475 typeof1.ok \
1476 typeof2.awk \
1477 typeof2.ok \
1478 typeof3.awk \
1479 typeof3.ok \
1480 typeof4.awk \
1481 typeof4.ok \
1482 typeof5.awk \
1483 typeof5.in \
1484 typeof5.ok \
1485 typeof6.awk \
1486 typeof6.ok \
1487 typeof7.awk \
1488 typeof7.ok \
1489 typeof8.awk \
1490 typeof8.ok \
1491 typeof9.awk \
1492 typeof9.ok \
1493 unicode1.awk \
1494 unicode1.ok \
1495 uninit2.awk \
1496 uninit2.ok \
1497 uninit3.awk \
1498 uninit3.ok \
1499 uninit4.awk \
1500 uninit4.ok \
1501 uninit5.awk \
1502 uninit5.ok \
1503 uninitialized.awk \
1504 uninitialized.ok \
1505 unterm.awk \
1506 unterm.ok \
1507 uparrfs.awk \
1508 uparrfs.in \
1509 uparrfs.ok \
1510 uplus.awk \
1511 uplus.ok \
1512 valgrind.awk \
1513 watchpoint1.awk \
1514 watchpoint1.in \
1515 watchpoint1.ok \
1516 watchpoint1.script \
1517 wideidx.awk \
1518 wideidx.in \
1519 wideidx.ok \
1520 wideidx2.awk \
1521 wideidx2.ok \
1522 widesub.awk \
1523 widesub.ok \
1524 widesub2.awk \
1525 widesub2.ok \
1526 widesub3.awk \
1527 widesub3.in \
1528 widesub3.ok \
1529 widesub4.awk \
1530 widesub4.ok \
1531 wjposer1.awk \
1532 wjposer1.in \
1533 wjposer1.ok \
1534 xref.awk \
1535 xref.original \
1536 zero2.awk \
1537 zero2.ok \
1538 zeroe0.awk \
1539 zeroe0.ok \
1540 zeroflag.awk \
1541 zeroflag.ok
1542
1543
1544 # Get rid of core files when cleaning and generated .ok file
1545 CLEANFILES = core core.* fmtspcl.ok
1546
1547 # try to keep these sorted. each letter starts a new line
1548 BASIC_TESTS = \
1549 addcomma anchgsub anchor argarray argcasfile arrayind1 arrayind2 \
1550 arrayind3 arrayparm arrayprm2 arrayprm3 arrayref arrymem1 \
1551 arryref2 arryref3 arryref4 arryref5 arynasty arynocls aryprm1 \
1552 aryprm2 aryprm3 aryprm4 aryprm5 aryprm6 aryprm7 aryprm8 aryprm9 \
1553 arysubnm aryunasgn asgext assignnumfield assignnumfield2 awkpath \
1554 back89 backgsub badassign1 badbuild \
1555 callparam childin clobber close_status closebad clsflnam \
1556 cmdlinefsbacknl cmdlinefsbacknl2 compare compare2 concat1 concat2 \
1557 concat3 concat4 concat5 convfmt \
1558 datanonl defref delargv delarpm2 delarprm delfunc dfacheck2 \
1559 dfamb1 dfastress divzero divzero2 dynlj \
1560 eofsplit eofsrc1 escapebrace exit2 exitval1 exitval2 exitval3 \
1561 fcall_exit fcall_exit2 fieldassign fldchg fldchgnf fldterm \
1562 fnamedat fnarray fnarray2 fnaryscl fnasgnm fnmisc fordel forref \
1563 forsimp fsbs fscaret fsnul1 fsrs fsspcoln fstabplus funsemnl \
1564 funsmnam funstack \
1565 getline getline2 getline3 getline4 getline5 getlnbuf getlnfa \
1566 getnr2tb getnr2tm gsubasgn gsubnulli18n gsubtest gsubtst2 gsubtst3 \
1567 gsubtst4 gsubtst5 gsubtst6 gsubtst7 gsubtst8 \
1568 hex hex2 hsprint \
1569 inpref inputred intest intprec iobug1 \
1570 leaddig leadnl litoct longsub longwrds \
1571 manglprm match4 matchuninitialized math membug1 memleak messages \
1572 minusstr mmap8k \
1573 nasty nasty2 negexp negrange nested nfldstr nfloop nfneg nfset \
1574 nlfldsep nlinstr nlstrina noeffect nofile nofmtch noloop1 \
1575 noloop2 nonl noparms nors nulinsrc nulrsend numindex numrange \
1576 numstr1 numsubstr \
1577 octsub ofmt ofmta ofmtbig ofmtfidl ofmts ofmtstrnum ofs1 onlynl \
1578 opasnidx opasnslf \
1579 paramasfunc1 paramasfunc2 paramdup paramres paramtyp \
1580 paramuninitglobal parse1 parsefld parseme pcntplus posix2008sub \
1581 posix_compare prdupval prec printf-corners printf0 printf1 \
1582 printfchar prmarscl prmreuse prt1eval prtoeval \
1583 rand randtest range1 range2 readbuf rebrackloc rebt8b1 rebuild \
1584 redfilnm regeq regex3minus regexpbad regexpbrack regexpbrack2 \
1585 regexprange regrange reindops reparse resplit rri1 rs rscompat \
1586 rsnul1nl rsnulbig rsnulbig2 rsnullre rsnulw rstest1 rstest2 \
1587 rstest3 rstest4 rstest5 rswhite \
1588 scalar sclforin sclifin setrec0 setrec1 sigpipe1 sortempty \
1589 sortglos spacere splitargv splitarr splitdef splitvar splitwht splitwht2 \
1590 status-close strcat1 strfieldnum strnum1 strnum2 strsubscript \
1591 strtod subamp subback subi18n subsepnm subslash substr swaplns \
1592 synerr1 synerr2 synerr3 \
1593 tailrecurse tradanch trailbs tweakfld \
1594 uninit2 uninit3 uninit4 uninit5 uninitialized unterm uparrfs uplus \
1595 wideidx wideidx2 widesub widesub2 widesub3 widesub4 wjposer1 \
1596 zero2 zeroe0 zeroflag
1597
1598 UNIX_TESTS = \
1599 fflush getlnhd localenl pid pipeio1 pipeio2 poundbang rtlen rtlen01 \
1600 space strftlng
1601
1602 GAWK_EXT_TESTS = \
1603 aadelete1 aadelete2 aarray1 aasort aasorti ar2fn_elnew_sc \
1604 ar2fn_elnew_sc2 ar2fn_fmod ar2fn_unxptyp_aref ar2fn_unxptyp_val \
1605 argtest arraysort arraysort2 arraytype asortbool asortsymtab \
1606 backw badargs beginfile1 beginfile2 binmode1 \
1607 charasbytes clos1way clos1way2 clos1way3 clos1way4 clos1way5 \
1608 clos1way6 colonwarn commas crlf csv1 csv2 csv3 csvodd \
1609 dbugarray1 dbugarray2 dbugarray3 dbugarray4 dbugeval dbugeval2 \
1610 dbugeval3 dbugeval4 dbugtypedre1 dbugtypedre2 delmessy delsub \
1611 devfd devfd1 devfd2 dfacheck1 dumpvars elemnew1 \
1612 elemnew2 elemnew3 errno exit \
1613 fieldwdth forcenum fpat1 fpat2 fpat3 fpat4 fpat5 fpat6 fpat7 fpat8 \
1614 fpat9 fpatnull fsfwfs functab1 functab2 functab3 functab6 funlen \
1615 fwtest fwtest2 fwtest3 fwtest4 fwtest5 fwtest6 fwtest7 fwtest8 \
1616 genpot gensub gensub2 gensub3 gensub4 getlndir gnuops2 gnuops3 gnureops gsubind \
1617 icasefs icasers id igncdym igncfs ignrcas2 ignrcas4 ignrcase \
1618 incdupe incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 \
1619 include include2 indirectbuiltin indirectbuiltin3 indirectbuiltin4 \
1620 indirectbuiltin5 indirectbuiltin6 indirectcall indirectcall2 \
1621 indirectcall3 intarray iolint isarrayunset \
1622 lint lintexp lintindex lintint lintlength lintold lintplus \
1623 lintplus2 lintplus3 lintset lintwarn manyfiles \
1624 match1 match2 match3 mbstr1 mbstr2 mdim1 mdim2 mdim3 mdim4 mdim5 \
1625 mdim6 mdim7 mdim8 memleak2 memleak3 mixed1 mktime modifiers \
1626 muldimposix \
1627 nastyparm negtime next nondec nondec2 nonfatal1 nonfatal2 \
1628 nonfatal3 nsawk1a nsawk1b nsawk1c nsawk2a nsawk2b nsbad nsbad2 \
1629 nsbad3 nsbad_cmd nsforloop nsfuncrecurse nsidentifier nsindirect1 \
1630 nsindirect2 nsprof1 nsprof2 nsprof3 \
1631 octdec \
1632 patsplit posix printfbad1 printfbad2 printfbad3 printfbad4 \
1633 printhuge procinfs profile0 profile1 profile2 profile3 profile4 \
1634 profile5 profile6 profile7 profile8 profile9 profile10 profile11 \
1635 profile12 profile13 profile14 profile15 profile16 profile17 \
1636 pty1 pty2 \
1637 re_test rebuf regexsub reginttrad regnul1 regnul2 regx8bit reint \
1638 reint2 rsgetline rsglstdin rsstart1 rsstart2 rsstart3 rstest6 \
1639 sandbox1 shadow shadowbuiltin sortfor sortfor2 sortu sourcesplit \
1640 split_after_fpat splitarg4 strftfld strftime strtonum strtonum1 \
1641 stupid1 stupid2 stupid3 stupid4 stupid5 switch2 symtab1 symtab2 \
1642 symtab3 symtab4 symtab5 symtab6 symtab7 symtab8 symtab9 symtab10 \
1643 symtab11 symtab12 \
1644 timeout typedregex1 typedregex2 typedregex3 typedregex4 \
1645 typedregex5 typedregex6 typeof1 typeof2 typeof3 typeof4 typeof5 \
1646 typeof6 typeof7 typeof8 typeof9 \
1647 unicode1 \
1648 watchpoint1
1649
1650 ARRAYDEBUG_TESTS = arrdbg
1651
1652 EXTRA_TESTS = inftest regtest ignrcas3
1653
1654 INET_TESTS = inetdayu inetdayt inetechu inetecht
1655
1656 MACHINE_TESTS = double1 double2 inf-nan-torture intformat
1657
1658 LOCALE_CHARSET_TESTS = \
1659 asort asorti backbigs1 backsmalls1 backsmalls2 fmttest fnarydel \
1660 fnparydl jarebug lc_num1 mbfw1 mbprintf1 mbprintf2 mbprintf3 \
1661 mbprintf4 mbprintf5 mtchi18n mtchi18n2 nlstringtest rebt8b2 \
1662 rtlenmb sort1 sprintfc
1663
1664 SHLIB_TESTS = \
1665 apiterm filefuncs fnmatch fork fork2 fts functab4 functab5 \
1666 getfile indirectbuiltin2 inplace1 inplace2 inplace2bcomp inplace3 \
1667 inplace3bcomp ordchr ordchr2 readall readdir readdir_retest \
1668 readdir_test readfile readfile2 revout revtwoway rwarray \
1669 testext time
1670
1671 # List of the tests which should be run with --debug option:
1672 NEED_DEBUG = dbugtypedre1 dbugtypedre2 dbugeval2 dbugeval3 dbugeval4 \
1673 dbugarray1 dbugarray2 dbugarray3 dbugarray4
1674
1675 # List of the tests which should be run with --lint option:
1676 NEED_LINT = \
1677 defref fmtspcl lintexp lintindex lintint lintlength lintplus \
1678 lintplus2 lintplus3 lintwarn noeffect nofmtch nonl shadow uninit2 \
1679 uninit3 uninit4 uninit5 uninitialized
1680
1681 # List of the tests which should be run with --lint-old option:
1682 NEED_LINT_OLD = lintold
1683
1684 # List of tests that must be run with -M
1685 NEED_MPFR = \
1686 mpfranswer42 mpfrbigint mpfrbigint2 mpfrcase mpfrcase2 \
1687 mpfrexprange mpfrfield mpfrieee mpfrmemok1 mpfrnegzero \
1688 mpfrnegzero2 mpfrnonum mpfrnr mpfrrem mpfrrnd mpfrrndeval \
1689 mpfrsort mpfrsqrt mpfrstrtonum mpfruplus mpgforcenum
1690
1691 # List of tests that need --non-decimal-data
1692 NEED_NONDEC = mpfrbigint2 nondec2 intarray forcenum
1693
1694 # List of tests that need --posix
1695 NEED_POSIX = escapebrace printf0 posix2008sub paramasfunc1 paramasfunc2 muldimposix posix_compare
1696
1697 # List of tests that need --pretty-print
1698 NEED_PRETTY = lintplus2 nsprof1 nsprof2 nsprof3 \
1699 profile4 profile5 profile8 profile9 profile10 profile11 profile13 \
1700 profile14 profile15 profile16 profile17
1701
1702 # List of tests that need --re-interval
1703 NEED_RE_INTERVAL = gsubtst3 reint reint2
1704
1705 # List of tests that need --sandbox
1706 NEED_SANDBOX = sandbox1
1707
1708 # List of tests that need --traditional
1709 NEED_TRADITIONAL = litoct tradanch rscompat
1710
1711 # List of tests that need the PMA allocator and a backing file
1712 NEED_PMA = pma
1713
1714 # List of tests that need --csv
1715 NEED_CSV = csv1 csv2 csv3 csvodd
1716
1717 # Lists of tests that run a shell script
1718 RUN_SHELL = exit fflush localenl modifiers next randtest rtlen rtlen01
1719
1720 # List of the tests which fail with EXIT CODE 1
1721 FAIL_CODE1 = \
1722 badassign1 badbuild callparam delfunc fcall_exit fcall_exit2 \
1723 fnamedat fnarray fnarray2 fnasgnm fnmisc funsmnam gsubasgn \
1724 incdupe2 lintwarn match2 mixed1 noparms paramasfunc1 paramasfunc2 \
1725 paramdup paramres parseme readbuf synerr1 synerr2 unterm
1726
1727 # Lists of tests that need particular locales
1728 NEED_LOCALE_C = \
1729 clos1way gsubtst6 range2
1730
1731 NEED_LOCALE_EN = \
1732 backbigs1 backsmalls1 backsmalls2 commas concat4 dfamb1 \
1733 gsubnulli18n ignrcas2 lc_num1 mbfw1 mbprintf1 mbprintf3 mbprintf4 \
1734 mbstr1 mbstr2 mtchi18n2 posix_compare printhuge reint2 rri1 \
1735 subamp subi18n unicode1 wideidx wideidx2 widesub widesub2 \
1736 widesub3 widesub4
1737
1738 # Unused at the moment, since nlstringtest has additional stuff it does
1739 # NEED_LOCALE_FR =
1740 # Same for ignrcas3
1741 # NEED_LOCALE_GR =
1742
1743 NEED_LOCALE_JP = mbprintf2
1744
1745 NEED_LOCALE_RU = mtchi18n
1746
1747 # List of tests that fail on MinGW
1748 EXPECTED_FAIL_MINGW = \
1749 backbigs1 backsmalls1 clos1way6 close_status dbugeval4\
1750 devfd devfd1 devfd2 errno exitval2 fork fork2 fts functab5 \
1751 getfile getlnhd gsubnulli18n ignrcas3 inetdayt inetecht \
1752 inf-nan-torture iolint mbfw1 mbprintf1 mbprintf4 mbstr1 \
1753 mbstr2 mtchi18n2 pid pipeio2 pty1 pty2 readdir rstest4 \
1754 rstest5 status-close timeout unicode1
1755
1756 # List of tests that fail on z/OS
1757 EXPECTED_FAIL_ZOS = \
1758 aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
1759 backsmalls2 beginfile1 beginfile2 charasbytes clos1way6 \
1760 cmdlinefsbacknl2 commas concat4 dfamb1 double1 double2 errno \
1761 fmttest forcenum getlndir gsubnulli18n gsubtst5 ignrcas2 \
1762 inf-nan-torture iolint lc_num1 mbfw1 mbprintf1 mbprintf2 mbprintf3 \
1763 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n mtchi18n2 nlstringtest \
1764 nofile nonfatal2 numrange posix_compare printhuge profile5 rebt8b2 \
1765 regexpbad regrange reint2 rri1 sigpipe1 sort1 sortfor sortu space \
1766 sprintfc subamp subi18n symtab1 symtab8 symtab11 timeout unicode1 \
1767 wideidx wideidx2 widesub widesub2 widesub3 widesub4
1768
1769
1770 ZOS_FAIL = @ZOS_FAIL@
1771
1772 # List of the files that appear in manual tests or are for reserve testing:
1773 GENTESTS_UNUSED = Makefile.in checknegtime.awk dtdgport.awk fix-fmtspcl.awk \
1774 fmtspcl-mpfr.ok fmtspcl.awk fmtspcl.tok gtlnbufv.awk hello.awk \
1775 inchello.awk inclib.awk inplace.1.in inplace.2.in inplace.in \
1776 printfloat.awk readdir0.awk valgrind.awk xref.awk \
1777 readall1.awk readall2.awk check_retest.awk
1778
1779 # List of tests on MinGW that need a different cmp program
1780 NEED_TESTOUTCMP = \
1781 beginfile2 double2 exit fmttest hsprint posix profile5 space printf-corners
1782
1783 CMP = cmp
1784 AWKPROG = ../gawk$(EXEEXT)
1785 SORT = sort
1786 SORT2 = LC_ALL=C sort
1787
1788 # Default for VALGRIND is empty unless overridden by a command-line argument.
1789 # This protects against cruft in the environment.
1790 VALGRIND =
1791
1792 # This business forces the locale to be C for running the tests,
1793 # unless we override it to something else for testing.
1794 #
1795 # This can also be done in individual tests where we wish to
1796 # check things specifically not in the C locale.
1797
1798 #
1799 # And we set AWKLIBPATH to find the extension libraries we built.
1800 LOCALES = LANGUAGE= LC_ALL=$${GAWKLOCALE:-C} LANG=$${GAWKLOCALE:-C}
1801 AWK = $(LOCALES) AWKLIBPATH=../extension/.libs GAWK_NO_MPFR_WARN=1 $(VALGRIND) $(AWKPROG) $(GAWK_TEST_ARGS)
1802
1803 # Message stuff is to make it a little easier to follow.
1804 # Make the pass-fail last and dependent on others to avoid
1805 # spurious errors if `make -j' in effect.
1806 check: env-check \
1807 msg \
1808 printlang \
1809 basic-msg-start basic basic-msg-end \
1810 unix-msg-start unix-tests unix-msg-end \
1811 extend-msg-start gawk-extensions arraydebug-tests extend-msg-end \
1812 charset-tests-all \
1813 shlib-msg-start shlib-tests shlib-msg-end \
1814 mpfr-msg-start mpfr-tests mpfr-msg-end \
1815 pma-msg-start pma-tests pma-msg-end \
1816 machine-msg-start machine-tests machine-msg-end
1817 @$(MAKE) pass-fail || { $(MAKE) diffout; exit 1; }
1818
1819 basic: $(BASIC_TESTS)
1820
1821 unix-tests: $(UNIX_TESTS)
1822
1823 gawk-extensions: $(GAWK_EXT_TESTS)
1824
1825 charset-tests-all:
1826 @case `uname` in \
1827 *MINGW* | *MS-DOS*) \
1828 $(MAKE) charset-msg-start charset-tests charset-msg-end ;; \
1829 *) \
1830 if locale -a | grep -i 'en_US.UTF.*8' > /dev/null && \
1831 locale -a | grep -i 'fr_FR.UTF.*8' > /dev/null && \
1832 locale -a | grep -i 'ru_RU.UTF.*8' > /dev/null && \
1833 locale -a | grep -i 'ja_JP.UTF.*8' > /dev/null ; \
1834 then \
1835 $(MAKE) charset-msg-start charset-tests charset-msg-end; \
1836 else \
1837 echo %%%%%%%%%% Inadequate locale support: skipping charset tests. ; \
1838 echo %%%%%%%%%% At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are needed. ; \
1839 fi ;; \
1840 esac
1841
1842 charset-tests: $(LOCALE_CHARSET_TESTS)
1843
1844 extra: $(EXTRA_TESTS) inet
1845
1846 inet: inetmesg $(INET_TESTS)
1847
1848 machine-tests: $(MACHINE_TESTS)
1849
1850 # The blank between ' and /MPFR/ is for running tests on Windows under
1851 # MSYS, which thinks /MPFR is a Unix-style file name and converts it
1852 # to Windows format, butchering it in the process. Likewise for /API/
1853 # in the next shlib-tests.
1854 mpfr-tests:
1855 @if $(AWK) --version | $(AWK) ' /MPFR/ { exit 1 }' ; then \
1856 echo MPFR tests not supported on this system ; \
1857 else $(MAKE) $(NEED_MPFR) ; \
1858 fi
1859
1860 arraydebug-tests:
1861 @if echo $(CFLAGS) | grep ARRAYDEBUG > /dev/null ; then \
1862 $(MAKE) $(ARRAYDEBUG_TESTS) ; \
1863 else echo gawk is not compiled to support the array debug tests ; \
1864 fi
1865
1866 shlib-tests:
1867 @if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
1868 echo shlib tests not supported on this system ; \
1869 else $(MAKE) shlib-real-tests ; \
1870 fi
1871
1872 shlib-real-tests: $(SHLIB_TESTS)
1873
1874 env-check:
1875 @if [ "$$GAWK_PERSIST_FILE" != "" ]; then \
1876 echo ; \
1877 echo '**********************************************************************************' ; \
1878 echo '* Please remove GAWK_PERSIST_FILE from the environment before running the tests. *' ; \
1879 echo '**********************************************************************************' ; \
1880 echo ; \
1881 exit 1; \
1882 fi
1883
1884 pma-msg-start:
1885 @echo "======== Starting PMA tests ========"
1886
1887 pma-msg-end:
1888 @echo "======== Done with PMA tests ========"
1889
1890 pma-tests:
1891 @if $(AWK) --version | $(AWK) ' /PMA/ { exit 1 }' ; then \
1892 echo PMA tests not supported on this system ; \
1893 else \
1894 $(MAKE) makepmafile ; \
1895 ./makepmafile ; \
1896 $(MAKE) $(NEED_PMA) ; \
1897 fi
1898
1899 makepmafile: makepmafile.c
1900 $(CC) $(srcdir)/makepmafile.c -o $@
1901
1902 pma:
1903 @echo $@
1904 @GAWK_PERSIST_FILE=test.pma $(AWK) 'BEGIN { print ++i }' > _$@ 2>&1
1905 @GAWK_PERSIST_FILE=test.pma $(AWK) 'BEGIN { print ++i }' >> _$@ 2>&1
1906 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
1907 @-$(RM) -f test.pma
1908
1909
1910 msg::
1911 @echo ''
1912 @echo 'Any output from "$(CMP)" is bad news, although some differences'
1913 @echo 'in floating point values are probably benign -- in particular,'
1914 @echo 'some systems may omit a leading zero and the floating point'
1915 @echo 'precision may lead to slightly different output in a few cases.'
1916
1917 printlang::
1918 @$(AWK) -f "$(srcdir)"/printlang.awk
1919
1920 basic-msg-start:
1921 @echo "======== Starting basic tests ========"
1922
1923 basic-msg-end:
1924 @echo "======== Done with basic tests ========"
1925
1926 unix-msg-start:
1927 @echo "======== Starting Unix tests ========"
1928
1929 unix-msg-end:
1930 @echo "======== Done with Unix tests ========"
1931
1932 extend-msg-start:
1933 @echo "======== Starting gawk extension tests ========"
1934
1935 extend-msg-end:
1936 @echo "======== Done with gawk extension tests ========"
1937
1938 machine-msg-start:
1939 @echo "======== Starting machine-specific tests ========"
1940 @echo "If any of these tests fail, don't worry too much."
1941
1942 machine-msg-end:
1943 @echo "======== Done with machine-specific tests ========"
1944
1945 charset-msg-start:
1946 @echo "======== Starting tests that can vary based on character set or locale support ========"
1947 @echo "**************************************************************************"
1948 @echo "* Some or all of these tests may fail if you have inadequate or missing *"
1949 @echo "* locale support. At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and *"
1950 @echo "* ja_JP.UTF-8 are needed. The el_GR.iso88597 is optional but helpful. *"
1951 @echo "* However, if you see this message, the Makefile thinks you have what *"
1952 @echo "* you need ... *"
1953 @echo "**************************************************************************"
1954
1955 charset-msg-end:
1956 @echo "======== Done with tests that can vary based on character set or locale support ========"
1957
1958 shlib-msg-start:
1959 @echo "======== Starting shared library tests ========"
1960
1961 shlib-msg-end:
1962 @echo "======== Done with shared library tests ========"
1963
1964 mpfr-msg-start:
1965 @echo "======== Starting MPFR tests ========"
1966
1967 mpfr-msg-end:
1968 @echo "======== Done with MPFR tests ========"
1969
1970
1971 # This test is a PITA because increasingly, /tmp is getting
1972 # mounted noexec. So, we'll test it locally. Sigh.
1973 #
1974 # More PITA; some systems have medium short limits on #! paths,
1975 # so this can still fail
1976 poundbang::
1977 @echo $@
1978 @sed "s;/tmp/gawk;`pwd`/$(AWKPROG);" < "$(srcdir)"/poundbang.awk > ./_pbd.awk
1979 @chmod +x ./_pbd.awk
1980 @-if ./_pbd.awk "$(srcdir)"/poundbang.awk > _`basename $@` ; \
1981 then : ; \
1982 else \
1983 sed "s;/tmp/gawk;$(AWKPROG);" < "$(srcdir)"/poundbang.awk > ./_pbd.awk ; \
1984 chmod +x ./_pbd.awk ; \
1985 LC_ALL=$${GAWKLOCALE:-C} LANG=$${GAWKLOCALE:-C} ./_pbd.awk "$(srcdir)"/poundbang.awk > _`basename $@`; \
1986 fi
1987 @-$(CMP) "$(srcdir)"/poundbang.awk _`basename $@` && rm -f _`basename $@` _pbd.awk
1988
1989 messages::
1990 @echo $@
1991 @-$(AWK) -f "$(srcdir)"/messages.awk >_out2 2>_out3 || echo EXIT CODE: $$? >> _$@
1992 @-$(CMP) "$(srcdir)"/out1.ok _out1 && $(CMP) "$(srcdir)"/out2.ok _out2 && $(CMP) "$(srcdir)"/out3.ok _out3 && rm -f _out1 _out2 _out3
1993
1994 argarray::
1995 @echo $@
1996 @cp "$(srcdir)"/argarray.in ./argarray.input
1997 @-TEST=test echo just a test | $(AWK) -f "$(srcdir)"/argarray.awk ./argarray.input - >_$@ || echo EXIT CODE: $$? >> _$@
1998 @-rm -f ./argarray.input
1999 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2000
2001 regtest::
2002 @echo $@
2003 @echo 'Some of the output from regtest is very system specific, do not'
2004 @echo 'be distressed if your output differs from that distributed.'
2005 @echo 'Manual inspection is called for.'
2006 @-AWK=$(AWKPROG) "$(srcdir)"/regtest.sh
2007
2008 manyfiles::
2009 @echo $@
2010 @rm -rf junk
2011 @mkdir junk
2012 @-$(AWK) 'BEGIN { for (i = 1; i <= 1030; i++) print i, i}' >_$@
2013 @-$(AWK) -f "$(srcdir)"/manyfiles.awk _$@ _$@ || echo EXIT CODE: $$? >> _$@
2014 @-wc -l junk/* | $(AWK) '$$1 != 2' | wc -l | sed "s/ *//g" > _$@
2015 @-rm -rf junk
2016 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2017
2018 compare::
2019 @echo $@
2020 @-$(AWK) -f "$(srcdir)"/compare.awk 0 1 "$(srcdir)"/compare.in >_$@ || echo EXIT CODE: $$? >> _$@
2021 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2022
2023 inftest::
2024 @echo $@
2025 @echo This test is very machine specific...
2026 @-$(AWK) -f "$(srcdir)"/inftest.awk | sed "s/inf/Inf/g" >_$@ || echo EXIT CODE: $$? >> _$@
2027 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2028
2029 getline2::
2030 @echo $@
2031 @-$(AWK) -f "$(srcdir)"/getline2.awk "$(srcdir)"/getline2.awk "$(srcdir)"/getline2.awk >_$@ || echo EXIT CODE: $$? >> _$@
2032 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2033
2034 awkpath::
2035 @echo $@
2036 @-AWKPATH="$(srcdir)$(PATH_SEPARATOR)$(srcdir)/lib" $(AWK) -f awkpath.awk >_$@ || echo EXIT CODE: $$? >> _$@
2037 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2038
2039 argtest::
2040 @echo $@
2041 @-$(AWK) -f "$(srcdir)"/argtest.awk -x -y abc >_$@ || echo EXIT CODE: $$? >> _$@
2042 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2043
2044 badargs::
2045 @echo $@
2046 @-$(AWK) -f 2>&1 | grep -v patchlevel >_$@ || echo EXIT CODE: $$? >> _$@
2047 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2048
2049 strftime::
2050 @echo $@
2051 @-[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=C ; export GAWKLOCALE; \
2052 TZ=GMT0; export TZ; \
2053 $(AWK) -v OUTPUT=_$@ -v DATECMD="$(DATE)" -f "$(srcdir)"/strftime.awk || echo EXIT CODE: $$? >> _$@
2054 @-$(CMP) strftime.ok _$@ && rm -f _$@ strftime.ok || exit 0
2055
2056 devfd::
2057 @echo $@
2058 @-$(AWK) 1 /dev/fd/4 /dev/fd/5 4<"$(srcdir)"/devfd.in4 5<"$(srcdir)"/devfd.in5 >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ || echo EXIT CODE: $$? >> _$@
2059 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2060
2061 # This cannot be autogenerated; we want it to read the input name
2062 # on the command line.
2063 errno:
2064 @echo $@ $(ZOS_FAIL)
2065 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] "$(srcdir)"/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2066 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2067
2068 tweakfld::
2069 @echo $@
2070 @-$(AWK) -f "$(srcdir)"/tweakfld.awk "$(srcdir)"/tweakfld.in >_$@ || echo EXIT CODE: $$? >> _$@
2071 @-rm -f errors.cleanup
2072 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2073
2074 # AIX /bin/sh exec's the last command in a list, therefore issue a ":"
2075 # command so that pid.sh is fork'ed as a child before being exec'ed.
2076 pid::
2077 @echo $@
2078 @-AWKPATH="$(srcdir)" AWK=$(AWKPROG) $(SHELL) "$(srcdir)"/pid.sh $$$$ > _`basename $@` ; :
2079 @-$(CMP) "$(srcdir)"/pid.ok _`basename $@` && rm -f _`basename $@`
2080
2081 strftlng::
2082 @echo $@
2083 @-TZ=UTC; export TZ; $(AWK) -f "$(srcdir)"/strftlng.awk >_$@
2084 @-if $(CMP) "$(srcdir)"/strftlng.ok _$@ >/dev/null 2>&1 ; then : ; else \
2085 TZ=UTC0; export TZ; $(AWK) -f "$(srcdir)"/strftlng.awk >_$@ ; \
2086 fi
2087 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2088
2089 nors::
2090 @echo $@
2091 @-echo A B C D E | tr -d '\12\15' | $(AWK) '{ print $$NF }' - "$(srcdir)"/nors.in > _$@ || echo EXIT CODE: $$? >> _$@
2092 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2093
2094 # fmtspcl.ok: fmtspcl.tok Makefile fix-fmtspcl.awk
2095 # @$(AWK) -v "sd=$(srcdir)" -f "$(srcdir)/fix-fmtspcl.awk" < "$(srcdir)"/fmtspcl.tok > $@ 2>/dev/null
2096 #
2097 # fmtspcl: fmtspcl.ok
2098 # @echo $@
2099 # @$(AWK) $(AWKFLAGS) -f "$(srcdir)"/fmtspcl.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2100 # @-if test -z "$$AWKFLAGS" ; then $(CMP) [email protected] _$@ && rm -f _$@ ; else \
2101 # $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2102 # fi
2103
2104 rebuf::
2105 @echo $@
2106 @-AWKBUFSIZE=4096 AWKPATH="$(srcdir)" $(AWK) -f [email protected] < "$(srcdir)"/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2107 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2108
2109 rsglstdin::
2110 @echo $@
2111 @-cat "$(srcdir)"/rsgetline.in | AWKPATH="$(srcdir)" $(AWK) -f rsgetline.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2112 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2113
2114 pipeio1::
2115 @echo $@
2116 @-$(AWK) -f "$(srcdir)"/pipeio1.awk >_$@ || echo EXIT CODE: $$? >> _$@
2117 @-rm -f test1 test2
2118 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2119
2120 pipeio2::
2121 @echo $@
2122 @-$(AWK) -v SRCDIR="$(srcdir)" -f "$(srcdir)"/pipeio2.awk >_$@ || echo EXIT CODE: $$? >> _$@
2123 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2124
2125 clobber::
2126 @echo $@
2127 @-$(AWK) -f "$(srcdir)"/clobber.awk >_$@ || echo EXIT CODE: $$? >> _$@
2128 @-$(CMP) "$(srcdir)"/clobber.ok seq && $(CMP) "$(srcdir)"/clobber.ok _$@ && rm -f _$@
2129 @rm -f seq
2130
2131 arynocls::
2132 @echo $@
2133 @-AWKPATH="$(srcdir)" $(AWK) -v INPUT="$(srcdir)"/arynocls.in -f arynocls.awk >_$@ || echo EXIT CODE: $$? >> _$@
2134 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2135
2136 getlnbuf::
2137 @echo $@
2138 @-AWKPATH="$(srcdir)" $(AWK) -f getlnbuf.awk "$(srcdir)"/getlnbuf.in > _$@ || echo EXIT CODE: $$? >> _$@
2139 @-AWKPATH="$(srcdir)" $(AWK) -f gtlnbufv.awk "$(srcdir)"/getlnbuf.in > _2$@ || echo EXIT CODE: $$? >> _$@
2140 @-$(CMP) "$(srcdir)"/getlnbuf.ok _$@ && $(CMP) "$(srcdir)"/getlnbuf.ok _2$@ && rm -f _$@ _2$@
2141
2142 inetmesg::
2143 @echo These tests only work if your system supports the services
2144 @echo "'discard'" at port 9 and "'daytimed'" at port 13. Check your
2145 @echo file /etc/services and do "'netstat -a'".
2146
2147 inetechu::
2148 @echo This test is for establishing UDP connections
2149 @-$(AWK) 'BEGIN {print "" |& "/inet/udp/0/127.0.0.1/9"}'
2150
2151 inetecht::
2152 @echo This test is for establishing TCP connections
2153 @-$(AWK) 'BEGIN {print "" |& "/inet/tcp/0/127.0.0.1/9"}'
2154
2155 inetdayu::
2156 @echo This test is for bidirectional UDP transmission
2157 @-$(AWK) 'BEGIN { print "" |& "/inet/udp/0/127.0.0.1/13"; \
2158 "/inet/udp/0/127.0.0.1/13" |& getline; print $0}'
2159
2160 inetdayt::
2161 @echo This test is for bidirectional TCP transmission
2162 @-$(AWK) 'BEGIN { print "" |& "/inet/tcp/0/127.0.0.1/13"; \
2163 "/inet/tcp/0/127.0.0.1/13" |& getline; print $0}'
2164
2165 redfilnm::
2166 @echo $@
2167 @-$(AWK) -f "$(srcdir)"/redfilnm.awk srcdir="$(srcdir)" "$(srcdir)"/redfilnm.in >_$@ || echo EXIT CODE: $$? >> _$@
2168 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2169
2170 space::
2171 @echo $@ $(ZOS_FAIL)
2172 @-$(AWK) -f ' ' "$(srcdir)"/space.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ || echo EXIT CODE: $$? >> _$@
2173 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2174
2175 rsnulbig::
2176 @echo $@
2177 @ : Suppose that block size for pipe is at most 128kB:
2178 @-$(AWK) 'BEGIN { for (i = 1; i <= 128*64+1; i++) print "abcdefgh123456\n" }' 2>&1 | \
2179 $(AWK) 'BEGIN { RS = ""; ORS = "\n\n" }; { print }' 2>&1 | \
2180 $(AWK) ' /^[^a]/; END{ print NR }' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2181 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2182
2183 rsnulbig2::
2184 @echo $@
2185 @-$(AWK) 'BEGIN { ORS = ""; n = "\n"; for (i = 1; i <= 10; i++) n = (n n); \
2186 for (i = 1; i <= 128; i++) print n; print "abc\n" }' 2>&1 | \
2187 $(AWK) 'BEGIN { RS = ""; ORS = "\n\n" };{ print }' 2>&1 | \
2188 $(AWK) ' /^[^a]/; END { print NR }' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2189 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2190
2191 # This test makes sure gawk exits with a zero code.
2192 # Thus, unconditionally generate the exit code.
2193 exitval1::
2194 @echo $@
2195 @-$(AWK) -f "$(srcdir)"/exitval1.awk >_$@ 2>&1; echo EXIT CODE: $$? >>_$@
2196 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2197
2198 fsspcoln::
2199 @echo $@
2200 @-$(AWK) -f "$(srcdir)"/[email protected] 'FS=[ :]+' "$(srcdir)"/[email protected] >_$@ || echo EXIT CODE: $$? >> _$@
2201 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2202
2203 rsstart3::
2204 @echo $@
2205 @-head "$(srcdir)"/rsstart1.in | $(AWK) -f "$(srcdir)"/rsstart2.awk >_$@ || echo EXIT CODE: $$? >> _$@
2206 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2207
2208 # FIXME: Gentests can't really deal with something that is both a shell script
2209 # and requires a locale. We might can fix that ...
2210 rtlenmb::
2211 @echo $@
2212 @-[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE ; \
2213 "$(srcdir)"/rtlen.sh >_$@ || echo EXIT CODE: $$? >>_$@
2214 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2215
2216 nofile::
2217 @echo $@ $(ZOS_FAIL)
2218 @-$(AWK) '{}' no/such/file >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2219 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2220
2221 binmode1::
2222 @echo $@
2223 @-$(AWK) -v BINMODE=3 'BEGIN { print BINMODE }' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2224 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2225
2226 devfd1::
2227 @echo $@
2228 @-$(AWK) -f "$(srcdir)"/[email protected] 4< "$(srcdir)"/devfd.in1 5< "$(srcdir)"/devfd.in2 >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2229 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2230
2231 # The program text is the '1' which will print each record. How compact can you get?
2232 devfd2::
2233 @echo $@
2234 @-$(AWK) 1 /dev/fd/4 /dev/fd/5 4< "$(srcdir)"/devfd.in1 5< "$(srcdir)"/devfd.in2 >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2235 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2236
2237 mixed1::
2238 @echo $@
2239 @-$(AWK) -f /dev/null --source 'BEGIN {return junk}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2240 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2241
2242 mbprintf5::
2243 @echo $@ $(ZOS_FAIL)
2244 @-case `uname` in \
2245 CYGWIN* | MSYS* | MINGW32* | *MS-DOS*) echo this test fails on this system --- skipping $@ ;; \
2246 *) \
2247 [ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE ; \
2248 $(AWK) -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ ; \
2249 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2250 esac
2251
2252 printfbad2: printfbad2.ok
2253 @echo $@
2254 @-$(AWK) --lint -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] 2>&1 | sed 's;$(srcdir)/;;g' >_$@ || echo EXIT CODE: $$? >>_$@
2255 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2256
2257 beginfile1::
2258 @echo $@ $(ZOS_FAIL)
2259 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] "$(srcdir)"/[email protected] . ./no/such/file Makefile >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2260 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2261
2262 beginfile2:
2263 @echo $@ $(ZOS_FAIL)
2264 @-( cd "$(srcdir)" && LC_ALL=C AWK="$(abs_builddir)/$(AWKPROG)" $(abs_srcdir)/[email protected] $(abs_srcdir)/[email protected] ) > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2265 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2266
2267 dumpvars::
2268 @echo $@
2269 @-AWKPATH="$(srcdir)" $(AWK) --dump-variables 1 < "$(srcdir)"/[email protected] >/dev/null 2>&1 || echo EXIT CODE: $$? >>_$@ || echo EXIT CODE: $$? >> _$@
2270 @grep -v ENVIRON < awkvars.out | grep -v PROCINFO > _$@; rm awkvars.out
2271 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2272
2273 profile0:
2274 @echo $@
2275 @-$(AWK) [email protected] -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] > /dev/null
2276 @-sed 1,2d < [email protected] > _$@; rm [email protected]
2277 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2278
2279 profile1:
2280 @echo $@
2281 @-$(AWK) -f "$(srcdir)"/xref.awk "$(srcdir)"/dtdgport.awk > [email protected]
2282 @-$(AWK) [email protected] -f "$(srcdir)"/xref.awk
2283 @-$(AWK) -f ./[email protected] "$(srcdir)"/dtdgport.awk > [email protected] ; rm [email protected]
2284 @-$(CMP) [email protected] [email protected] && rm [email protected][12] || { echo EXIT CODE: $$? >>_$@ ; \
2285 cp "$(srcdir)"/dtdgport.awk [email protected] ; }
2286
2287 profile2:
2288 @echo $@
2289 @-$(AWK) [email protected] -v sortcmd=$(SORT) -f "$(srcdir)"/xref.awk "$(srcdir)"/dtdgport.awk > /dev/null
2290 @-sed 1,2d < [email protected] > _$@; rm [email protected]
2291 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2292
2293 profile3:
2294 @echo $@
2295 @-$(AWK) [email protected] -f "$(srcdir)"/[email protected] > /dev/null
2296 @-sed 1,2d < [email protected] > _$@; rm [email protected]
2297 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2298
2299 profile5:
2300 @echo $@ $(ZOS_FAIL)
2301 @-AWKPATH="$(srcdir)" $(AWK) --pretty=_$@ -f [email protected] 2> [email protected]
2302 @-cat [email protected] >> _$@ ; rm -f [email protected]
2303 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2304
2305 profile6:
2306 @echo $@
2307 @-$(AWK) [email protected] -f "$(srcdir)"/[email protected] > /dev/null
2308 @-sed 1,2d < [email protected] > _$@; rm [email protected]
2309 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2310
2311 profile7:
2312 @echo $@
2313 @-$(AWK) [email protected] -f "$(srcdir)"/[email protected] > /dev/null
2314 @-sed 1,2d < [email protected] > _$@; rm [email protected]
2315 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2316
2317 profile12:
2318 @echo $@
2319 @-$(AWK) [email protected] -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2320 @-rm [email protected]
2321 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2322
2323 mpfrieee:
2324 @echo $@
2325 @-$(AWK) -M -vPREC=double -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2326 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2327
2328 mpfrexprange:
2329 @echo $@
2330 @-$(AWK) -M -vPREC=53 -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2331 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2332
2333 mpfrrnd:
2334 @echo $@
2335 @-$(AWK) -M -vPREC=53 -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2336 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2337
2338 mpfrsort:
2339 @echo $@
2340 @-$(AWK) -M -vPREC=53 -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2341 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2342
2343 mpfruplus:
2344 @echo $@
2345 @-$(AWK) -M -f "$(srcdir)"/uplus.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2346 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2347
2348 mpfranswer42:
2349 @echo $@
2350 @-$(AWK) -M -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@
2351 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2352
2353 mpfrmemok1:
2354 @echo $@
2355 @-$(AWK) -p- -M -f "$(srcdir)"/[email protected] 2>&1 | sed 1d > _$@ || echo EXIT CODE: $$? >> _$@
2356 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2357
2358 mpfrsqrt:
2359 @if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
2360 true ; \
2361 else \
2362 echo $@ ; \
2363 $(AWK) -M -f "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >> _$@ ; \
2364 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2365 fi
2366
2367 jarebug::
2368 @echo $@
2369 @-"$(srcdir)"/[email protected] "$(AWKPROG)" "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] "_$@" || echo EXIT CODE: $$? >> _$@
2370 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2371
2372 ordchr2::
2373 @echo $@
2374 @-$(AWK) --load ordchr 'BEGIN {print chr(ord("z"))}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2375 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2376
2377 # N.B. If the test fails, create readfile.ok so that "make diffout" will work
2378 readfile::
2379 @echo $@
2380 @-$(AWK) -l readfile 'BEGIN {printf "%s", readfile("$(srcdir)/Makefile.am")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2381 @-$(CMP) "$(srcdir)/Makefile.am" _$@ && rm -f _$@ || cp -p "$(srcdir)/Makefile.am" [email protected]
2382
2383 readfile2::
2384 @echo $@
2385 @-$(AWK) -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] "$(srcdir)"/readdir.awk > _$@ || echo EXIT CODE: $$? >>_$@
2386 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2387
2388 nsawk1a::
2389 @echo $@
2390 @-$(AWK) -f "$(srcdir)"/nsawk1.awk > _$@ || echo EXIT CODE: $$? >>_$@
2391 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2392
2393 nsawk1b::
2394 @echo $@
2395 @-$(AWK) -v I=fine -f "$(srcdir)"/nsawk1.awk > _$@ || echo EXIT CODE: $$? >>_$@
2396 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2397
2398 nsawk1c::
2399 @echo $@
2400 @-$(AWK) -v awk::I=fine -f "$(srcdir)"/nsawk1.awk > _$@ || echo EXIT CODE: $$? >>_$@
2401 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2402
2403 nsawk2a::
2404 @echo $@
2405 @-$(AWK) -v I=fine -f "$(srcdir)"/nsawk2.awk > _$@ || echo EXIT CODE: $$? >>_$@
2406 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2407
2408 nsawk2b::
2409 @echo $@
2410 @-$(AWK) -v awk::I=fine -f "$(srcdir)"/nsawk2.awk > _$@ || echo EXIT CODE: $$? >>_$@
2411 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2412
2413 include2::
2414 @echo $@
2415 @-AWKPATH="$(srcdir)" $(AWK) --include inclib 'BEGIN {print sandwich("a", "b", "c")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2416 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2417
2418 incdupe::
2419 @echo $@
2420 @-AWKPATH="$(srcdir)" $(AWK) --lint -i inclib -i inclib.awk 'BEGIN {print sandwich("a", "b", "c")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2421 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2422
2423 incdupe2::
2424 @echo $@
2425 @-AWKPATH="$(srcdir)" $(AWK) --lint -f inclib -f inclib.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2426 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2427
2428 incdupe3::
2429 @echo $@
2430 @-AWKPATH="$(srcdir)" $(AWK) --lint -f hello -f hello.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2431 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2432
2433 incdupe4::
2434 @echo $@
2435 @-AWKPATH="$(srcdir)" $(AWK) --lint -f hello -i hello.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2436 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2437
2438 incdupe5::
2439 @echo $@
2440 @-AWKPATH="$(srcdir)" $(AWK) --lint -i hello -f hello.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2441 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2442
2443 incdupe6::
2444 @echo $@
2445 @-AWKPATH="$(srcdir)" $(AWK) --lint -i inchello -f hello.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2446 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2447
2448 incdupe7::
2449 @echo $@
2450 @-AWKPATH="$(srcdir)" $(AWK) --lint -f hello -i inchello >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2451 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2452
2453 inplace1::
2454 @echo $@
2455 @-cp "$(srcdir)"/inplace.1.in [email protected]
2456 @-cp "$(srcdir)"/inplace.2.in [email protected]
2457 @->_$@
2458 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END {print "after"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2459 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2460 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2461 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2462
2463 inplace2::
2464 @echo $@
2465 @-cp "$(srcdir)"/inplace.1.in [email protected]
2466 @-cp "$(srcdir)"/inplace.2.in [email protected]
2467 @>_$@
2468 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v inplace::suffix=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END {print "after"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2469 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2470 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2471 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2472 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2473 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2474
2475 inplace2bcomp::
2476 @echo $@
2477 @-cp "$(srcdir)"/inplace.1.in [email protected]
2478 @-cp "$(srcdir)"/inplace.2.in [email protected]
2479 @->_$@
2480 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v INPLACE_SUFFIX=.orig 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END {print "after"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2481 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2482 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2483 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2484 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2485 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2486
2487 inplace3::
2488 @echo $@
2489 @-cp "$(srcdir)"/inplace.1.in [email protected]
2490 @-cp "$(srcdir)"/inplace.2.in [email protected]
2491 @->_$@
2492 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v inplace::suffix=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END {print "after"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2493 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v inplace::suffix=.bak 'BEGIN {print "Before"} {gsub(/bar/, "foo"); print} END {print "After"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2494 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2495 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2496 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2497 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2498 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2499
2500 inplace3bcomp::
2501 @echo $@
2502 @-cp "$(srcdir)"/inplace.1.in [email protected]
2503 @-cp "$(srcdir)"/inplace.2.in [email protected]
2504 @->_$@
2505 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v INPLACE_SUFFIX=.orig 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END {print "after"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2506 @-AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v INPLACE_SUFFIX=.orig 'BEGIN {print "Before"} {gsub(/bar/, "foo"); print} END {print "After"}' [email protected] - [email protected] < "$(srcdir)"/inplace.in >>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2507 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2508 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2509 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2510 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2511 @-$(CMP) "$(srcdir)"/[email protected] [email protected] && rm -f [email protected]
2512
2513 testext::
2514 @echo $@
2515 @-$(AWK) ' /^(@load|BEGIN|function)/,/^}/' "$(top_srcdir)"/extension/testext.c > testext.awk
2516 @-$(AWK) -f ./testext.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2517 @-if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null; \
2518 then $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ testext.awk testexttmp.txt ; \
2519 else $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ testext.awk testexttmp.txt ; fi
2520
2521 getfile:
2522 @echo $@
2523 @-AWKPATH="$(srcdir)" $(AWK) -v TESTEXT_QUIET=1 -ltestext -f [email protected] < $(srcdir)/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2524 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2525
2526 readdir:
2527 @echo $@
2528 @-if [ "`uname`" = Linux ] && [ "`stat -f . 2>/dev/null | awk 'NR == 2 { print $$NF }'`" = nfs ]; then \
2529 echo This test may fail on GNU/Linux systems when run on NFS or JFS filesystems.; \
2530 echo If it does, try rerunning on an ext'[234]' filesystem. ; \
2531 fi
2532 @-$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@ || echo EXIT CODE: $$? >> _$@
2533 @-ls -afi "$(top_srcdir)" > _dirlist
2534 @-ls -lna "$(top_srcdir)" | sed 1d > _longlist
2535 @-$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@ \
2536 -v dirlist=_dirlist -v longlist=_longlist > [email protected]
2537 @-$(CMP) [email protected] _$@ && rm -f [email protected] _$@ _dirlist _longlist
2538
2539 readdir_test:
2540 @echo $@
2541 @-$(AWK) -lreaddir -F/ '{printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, $$4}' "$(top_srcdir)" > [email protected]
2542 @-$(AWK) -lreaddir 'BEGIN { PROCINFO["readdir_override"] = 1} ; {printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, $$4}' "$(top_srcdir)" > _$@
2543 @-$(CMP) [email protected] _$@ && rm -f [email protected] _$@
2544
2545 readdir_retest:
2546 @echo $@
2547 @-$(AWK) -lreaddir -F/ -f "$(srcdir)"/[email protected] "$(top_srcdir)" > _$@
2548 @-if $(AWK) -f "$(srcdir)"/check_retest.awk _$@ ; \
2549 then \
2550 rm -f _$@ ; \
2551 else \
2552 echo EXIT CODE: $$? >> _$@ ; \
2553 fi
2554
2555 readall:
2556 @echo $@
2557 @-AWKPATH="$(srcdir)" $(AWK) -lrwarray -f [email protected] -v "ofile=readall.state" > _$@ 2>&1
2558 @-AWKPATH="$(srcdir)" $(AWK) -lrwarray -f [email protected] -v "ifile=readall.state" >> _$@ 2>&1
2559 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2560 @-$(RM) -f readall.state
2561
2562 fts:
2563 @echo $@
2564 @-case `uname` in \
2565 IRIX) \
2566 echo This test may fail on IRIX systems when run on an NFS filesystem.; \
2567 echo If it does, try rerunning on an xfs filesystem. ;; \
2568 CYGWIN* | MSYS*) \
2569 echo This test may fail on CYGWIN systems when run on an NFS filesystem.; \
2570 echo If it does, try rerunning on an ntfs filesystem. ;; \
2571 esac
2572 @-$(AWK) -f "$(srcdir)"/fts.awk || echo EXIT CODE: $$? >> _$@
2573 @-$(CMP) [email protected] _$@ && rm -f [email protected] _$@
2574
2575 # BINMODE=2 is needed for PC tests.
2576 charasbytes:
2577 @echo $@ $(ZOS_FAIL)
2578 @-[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
2579 AWKPATH="$(srcdir)" $(AWK) -b -v BINMODE=2 -f [email protected] "$(srcdir)"/[email protected] | \
2580 od -c -t x1 | tr ' ' ' ' | sed -e 's/ */ /g' -e 's/ *$$//' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2581 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2582
2583 symtab6:
2584 @echo $@
2585 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2586 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2587
2588 symtab8:
2589 @echo $@ $(ZOS_FAIL)
2590 @-$(AWK) -d__$@ -f "$(srcdir)"/[email protected] "$(srcdir)"/[email protected] >_$@
2591 @-grep -v '^ENVIRON' __$@ | grep -v '^PROCINFO' | grep -v '^FILENAME' >> _$@ ; rm __$@
2592 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2593
2594 symtab9:
2595 @echo $@
2596 @-$(AWK) -f "$(srcdir)"/[email protected] >_$@ || echo EXIT CODE: $$? >> _$@
2597 @-rm -f testit.txt
2598 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2599
2600 reginttrad:
2601 @echo $@
2602 @-$(AWK) --traditional -r -f "$(srcdir)"/[email protected] > _$@ || echo EXIT CODE: $$? >> _$@
2603 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2604
2605 colonwarn:
2606 @echo $@
2607 @-for i in 1 2 3 4 5 ; \
2608 do AWKPATH="$(srcdir)" $(AWK) -f [email protected] $$i < "$(srcdir)"/[email protected] 2>&1 ; \
2609 done > _$@ || echo EXIT CODE: $$? >> _$@
2610 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2611
2612 dbugeval::
2613 @echo $@
2614 @-if [ -t 0 ]; then \
2615 $(AWK) --debug -f /dev/null < "$(srcdir)"/[email protected] > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
2616 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2617 fi
2618
2619 filefuncs:
2620 @echo $@
2621 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] -v builddir="$(abs_top_builddir)" >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2622 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2623
2624 genpot:
2625 @echo $@
2626 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] --gen-pot >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2627 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2628
2629 negtime::
2630 @echo $@
2631 @-TZ=GMT AWKPATH="$(srcdir)" $(AWK) -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2632 @-AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk "$(srcdir)"/[email protected] _$@ && rm -f _$@
2633
2634 watchpoint1:
2635 @echo $@
2636 @-AWKPATH="$(srcdir)" $(AWK) -D -f [email protected] $(srcdir)/[email protected] < $(srcdir)/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2637 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2638
2639 pty1:
2640 @echo $@
2641 @-case `uname` in \
2642 *[Oo][Ss]/390*) : ;; \
2643 *) AWKPATH="$(srcdir)" $(AWK) -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
2644 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ;; \
2645 esac
2646
2647 ## 1/2018: The awk goop is to compensate for different output of od on
2648 ## Mac OS X systems. Sigh.
2649 pty2:
2650 @echo $@
2651 @-case `uname` in \
2652 *[Oo][Ss]/390*) : ;; \
2653 *) AWKPATH="$(srcdir)" $(AWK) -f [email protected] | od -c | $(AWK) '{ $$1 = $$1 ; print }' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
2654 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ;; \
2655 esac
2656
2657 ignrcas3::
2658 @echo $@
2659 @-if locale -a | grep el_GR.iso88597 > /dev/null ; then \
2660 [ -z "$$GAWKLOCALE" ] && GAWKLOCALE=el_GR.iso88597 ; export GAWKLOCALE; \
2661 AWKPATH="$(srcdir)" $(AWK) -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
2662 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2663 fi
2664
2665 arrdbg:
2666 @echo $@
2667 @-$(AWK) -v "okfile=./[email protected]" -v "mpfr_okfile=./[email protected]" -f "$(srcdir)"/[email protected] | grep array_f >_$@ || echo EXIT CODE: $$? >> _$@
2668 @-if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null; \
2669 then $(CMP) "."/[email protected] _$@ && rm -f _$@ [email protected] [email protected] ; \
2670 else $(CMP) "."/[email protected] _$@ && rm -f _$@ [email protected] [email protected] ; fi
2671
2672 sourcesplit:
2673 @echo $@
2674 @-AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a }' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2675 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2676
2677 eofsrc1:
2678 @echo $@
2679 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2680 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2681
2682 nsbad_cmd:
2683 @echo $@
2684 @-AWKPATH="$(srcdir)" $(AWK) -v foo:bar=3 -v foo:::blat=4 1 /dev/null >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2685 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2686
2687
2688 # Use [:] in the regexp to keep MSYS from converting the /'s to \'s.
2689 nonfatal1:
2690 @echo $@
2691 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] 2>&1 | $(AWK) '{print gensub(/invalid[:].*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
2692 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2693
2694 # 4/2018: On first call to $(CMP), send to /dev/null even with -s for MinGW.
2695 nlstringtest::
2696 @echo $@ $(ZOS_FAIL)
2697 @-[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=fr_FR.UTF-8 ; export GAWKLOCALE ; \
2698 AWKPATH="$(srcdir)" $(AWK) -f [email protected] "$(srcdir)" >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2699 @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ > /dev/null ; \
2700 then \
2701 rm -f _$@ ; \
2702 else \
2703 $(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@ ; \
2704 fi
2705
2706 longwrds:
2707 @echo $@
2708 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] -v SORT="$(SORT)" < "$(srcdir)"/[email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2709 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2710
2711 nsidentifier:
2712 @echo $@
2713 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] -v SORT="$(SORT2)" >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2714 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2715
2716 spacere:
2717 @echo $@
2718 @-LC_ALL=C AWKPATH="$(srcdir)" $(AWK) -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2719 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2720
2721 typedregex4:
2722 @echo $@
2723 @-$(AWK) -v x=@/foo/ -f "$(srcdir)"/[email protected] y=@/bar/ /dev/null >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2724 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2725
2726 iolint:
2727 @echo $@ $(ZOS_FAIL)
2728 @echo hello > 'echo hello'
2729 @-AWKPATH="$(srcdir)" $(AWK) -f [email protected] >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2730 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2731 @-$(RM) -f cat 'echo hello' f1 f2 cksum
2732
2733 argcasfile:
2734 @echo $@
2735 @-$(AWK) -f "$(srcdir)"/[email protected] ARGC=1 ' /no/such/file' < "$(srcdir)/[email protected]" >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
2736 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2737
2738 indirectbuiltin2:
2739 @echo $@
2740 @-for test in 0 1 2 3 4 5 ; do \
2741 AWKPATH="$(srcdir)" $(AWK) -v test=$$test -f [email protected] ; \
2742 done > _$@ 2>&1 || exit 0
2743 @-$(CMP) "$(srcdir)"/[email protected] _$@ && rm -f _$@
2744
2745 # Targets generated for other tests:
2746 include Maketests
2747
2748 Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
2749 files=`cd "$(srcdir)" && echo *.awk *.in *.sh`; \
2750 $(AWK) -f "$(srcdir)"/Gentests "$(srcdir)"/Makefile.am $$files > $@
2751
2752 clean-local:
2753 rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
2754 seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
2755 readdir_test.ok readdir_retest.ok profile1.ok X_* makepmafile
2756
2757 # An attempt to print something that can be grepped for in build logs
2758 pass-fail:
2759 @COUNT=`ls _* 2>/dev/null | wc -l` ; \
2760 if test $$COUNT = 0 ; \
2761 then echo ALL TESTS PASSED ; \
2762 else echo $$COUNT TESTS FAILED ; exit 1; \
2763 fi
2764
2765 # This target for my convenience to look at all the results
2766 # Don't use POSIX or bash-isms so that it'll work on !@#$%^&*() Solaris.
2767 diffout:
2768 for i in _* ; \
2769 do \
2770 if [ "$$i" != "_*" ]; then \
2771 echo ============== $$i ============= ; \
2772 base=`echo $$i | sed 's/^_//'` ; \
2773 if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null && [ -r $${base}-mpfr.ok ]; then \
2774 diff -u $${base}-mpfr.ok $$i ; \
2775 elif echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null && [ -r "$(srcdir)"/$${base}-mpfr.ok ]; then \
2776 diff -u "$(srcdir)"/$${base}-mpfr.ok $$i ; \
2777 elif [ -r $${base}.ok ]; then \
2778 diff -u $${base}.ok $$i ; \
2779 else \
2780 diff -u "$(srcdir)"/$${base}.ok $$i ; \
2781 fi ; \
2782 fi ; \
2783 done | $${PAGER:-more}
2784
2785 # make things easier for z/OS
2786 zos-diffout:
2787 @for i in $(EXPECTED_FAIL_ZOS); do \
2788 if [ -f _$$i ]; then mv -f _$$i X_$$i ; fi ; \
2789 if [ ! -f X_$$i ]; then echo $$i apparently passed! please check ; fi ; done
2790 @echo checking for new failures ...
2791 @$(MAKE) diffout
2792
2793 # convenient way to scan valgrind results for errors
2794 valgrind-scan:
2795 @echo "Scanning valgrind log files for problems:"
2796 @$(AWK) -f "$(srcdir)"/valgrind.awk log.[0-9]*
2797
2798 # This target is for testing with electric fence.
2799 efence:
2800 for i in $$(ls _* | sed 's;_\(.*\);\1;') ; \
2801 do \
2802 bad=$$(wc -l < _$$i) \
2803 ok=$$(wc -l < $$i.ok) ; \
2804 if (( $$bad == $$ok + 2 )) ; \
2805 then \
2806 rm _$$i ; \
2807 fi ; \
2808 done