diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-01-14 20:50:00 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-01-14 20:50:00 +0200 |
commit | 16d6377af8d1683a29b9dc7d7ab3e8d4bc1ebd48 (patch) | |
tree | 9e001112fa3e5bc8fa47f2bf5c353316c564c8e7 | |
parent | 0e829ea9a5062cac730f5a8368ab2062c1ef67fd (diff) | |
download | egawk-16d6377af8d1683a29b9dc7d7ab3e8d4bc1ebd48.tar.gz egawk-16d6377af8d1683a29b9dc7d7ab3e8d4bc1ebd48.tar.bz2 egawk-16d6377af8d1683a29b9dc7d7ab3e8d4bc1ebd48.zip |
Fix dumpvars test after removing deferred variables.
-rw-r--r-- | test/ChangeLog | 2 | ||||
-rw-r--r-- | test/Makefile.am | 2 | ||||
-rw-r--r-- | test/Makefile.in | 2 | ||||
-rw-r--r-- | test/dumpvars.ok | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 16ef6d56..04e65b5a 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,7 @@ 2015-01-14 Arnold D. Robbins <arnold@skeeve.com> + * Makefile.am (dumpvars): Grep out ENVIRON and PROCINFO since + those can be different depending on who runs the test. * dumpvars.ok, id.ok: Updated after code changes. 2015-01-07 Arnold D. Robbins <arnold@skeeve.com> diff --git a/test/Makefile.am b/test/Makefile.am index 12bde88d..bd2903ab 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1679,7 +1679,7 @@ beginfile2: dumpvars:: @echo $@ @AWKPATH="$(srcdir)" $(AWK) --dump-variables 1 < "$(srcdir)"/$@.in >/dev/null 2>&1 || echo EXIT CODE: $$? >>_$@ - @mv awkvars.out _$@ + @grep -v ENVIRON < awkvars.out | grep -v PROCINFO > _$@; rm awkvars.out @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ profile1: diff --git a/test/Makefile.in b/test/Makefile.in index 55650e18..e01e273f 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -2105,7 +2105,7 @@ beginfile2: dumpvars:: @echo $@ @AWKPATH="$(srcdir)" $(AWK) --dump-variables 1 < "$(srcdir)"/$@.in >/dev/null 2>&1 || echo EXIT CODE: $$? >>_$@ - @mv awkvars.out _$@ + @grep -v ENVIRON < awkvars.out | grep -v PROCINFO > _$@; rm awkvars.out @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ profile1: diff --git a/test/dumpvars.ok b/test/dumpvars.ok index 5013b351..73d3d306 100644 --- a/test/dumpvars.ok +++ b/test/dumpvars.ok @@ -3,7 +3,6 @@ ARGIND: 0 ARGV: array, 1 elements BINMODE: 0 CONVFMT: "%.6g" -ENVIRON: array, 57 elements ERRNO: "" FIELDWIDTHS: "" FILENAME: "-" @@ -18,7 +17,6 @@ OFMT: "%.6g" OFS: " " ORS: "\n" PREC: 53 -PROCINFO: array, 28 elements RLENGTH: 0 ROUNDMODE: "N" RS: "\n" |