diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/lintwarn.ok | 1 | ||||
-rw-r--r-- | test/symtab1.awk | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index f545a57b..7a6a6de4 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +2012-10-19 Arnold D. Robbins <arnold@skeeve.com> + + * symtab1.awk: Adjust to not print ENVIRON and PROCINFO which won't + be the same as on the author's machine. + * lintwarn.ok: Adjust. + 2012-10-13 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (EXTRA_DIST): Add jarebug.sh. diff --git a/test/lintwarn.ok b/test/lintwarn.ok index 312d40d4..ec87612f 100644 --- a/test/lintwarn.ok +++ b/test/lintwarn.ok @@ -16,6 +16,7 @@ gawk: lintwarn.awk:18: warning: `case' is a gawk extension gawk: lintwarn.awk:19: warning: `default' is a gawk extension gawk: lintwarn.awk:19: error: duplicate `default' detected in switch body gawk: lintwarn.awk:18: error: duplicate case values in switch body: 1 +gawk: lintwarn.awk:24: error: `continue' is not allowed outside a loop gawk: lintwarn.awk:23: error: `break' is not allowed outside a loop or switch gawk: lintwarn.awk:24: error: `continue' is not allowed outside a loop gawk: lintwarn.awk:25: error: `next' used in BEGIN action diff --git a/test/symtab1.awk b/test/symtab1.awk index 6ca7d632..eeb01437 100644 --- a/test/symtab1.awk +++ b/test/symtab1.awk @@ -1,5 +1,8 @@ function dumparray(name, array, i) { + if (name == "ENVIRON" || name == "PROCINFO") + return + for (i in array) if (isarray(array[i])) dumparray(name "[" i "]", array[i]) |