diff options
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rwxr-xr-x | test/arrayind1.awk | 10 | ||||
-rw-r--r-- | test/arrayind1.ok | 5 |
3 files changed, 10 insertions, 10 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 59e0dae6..585ab146 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2016-07-01 Arnold D. Robbins <arnold@skeeve.com> + + * arrayind1.awk, arrayind1.ok: Comment out prints to stderr to + avoid buffer flushing on obscure systems. + 2016-06-14 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (subback): New test. diff --git a/test/arrayind1.awk b/test/arrayind1.awk index fc3683f0..5d4a6f3d 100755 --- a/test/arrayind1.awk +++ b/test/arrayind1.awk @@ -57,7 +57,7 @@ END{ #printf("%10s%16s%10s%16s%10s%10s%10s\n","group",last," included as",posout[x]," as sire, as dam",cum[x,"sire"],cum[x,"dam"]) > "/dev/stderr" } # regular individuals - printf("%16s\n","recoding animals") > "/dev/stderr" +# printf("%16s\n","recoding animals") > "/dev/stderr" iter=1 #--> comment next line and this element of the associative array becomes null #printf("%s%16s\n","at the beginning it should be empty: ",posout["00000779770060"]) > "/dev/stderr" @@ -84,8 +84,8 @@ END{ } iter++ #--> - printf("%s%16s\n","in the loop: ",posout["00000779770060"]) > "/dev/stderr" - fflush("/dev/stderr") +# printf("%s%16s\n","in the loop: ",posout["00000779770060"]) > "/dev/stderr" +# fflush("/dev/stderr") #--> #printf("%10s%10s%10s%10s%16s%16s\n","round",iter,"included",posout[last],"last ",last) > "/dev/stderr" } @@ -95,7 +95,7 @@ END{ #printf("%10s%16s%10s%16s\n","pseudogeneration:",x," including: ",cumgen[x]) > "/dev/stderr" } #--> this is the guilty line - printf("%s%16s\n","at the end: ",posout["00000779770060"]) > "/dev/stderr" - fflush("/dev/stderr") +# printf("%s%16s\n","at the end: ",posout["00000779770060"]) > "/dev/stderr" +# fflush("/dev/stderr") #--> } diff --git a/test/arrayind1.ok b/test/arrayind1.ok index c68346ea..2b11bb5d 100644 --- a/test/arrayind1.ok +++ b/test/arrayind1.ok @@ -1,8 +1,3 @@ -recoding animals -in the loop: 3 -in the loop: 3 -in the loop: 3 -at the end: 3 1 0 0 00000757740011 0 0 0 2 0 0 1975su1du1 0 0 0 3 2 2 00000779770060 1975su1du1 1975su1du1 1 |