diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-28 20:50:04 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-28 20:50:04 +0200 |
commit | 74e184676613ab8b008a25ffaf87f2f227ec0640 (patch) | |
tree | dc336db92000d5b3e26e29935e2b69742027f76b | |
parent | 79adbea9dc2882dab38abe5d985041a72a4f7146 (diff) | |
download | egawk-74e184676613ab8b008a25ffaf87f2f227ec0640.tar.gz egawk-74e184676613ab8b008a25ffaf87f2f227ec0640.tar.bz2 egawk-74e184676613ab8b008a25ffaf87f2f227ec0640.zip |
Fix symtab6 test.
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/Makefile.am | 2 | ||||
-rw-r--r-- | test/Makefile.in | 2 | ||||
-rw-r--r-- | test/symtab6.ok | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 1ed20361..8054bbc7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2019-01-28 Arnold D. Robbins <arnold@skeeve.com> + + * Makefile.am (symtab6): Fix the test's recipe. + * symtab6.ok: Adjust to have correct content. + 2019-01-26 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (EXTRA_DIST): Use correct filenames for dfacheck test. diff --git a/test/Makefile.am b/test/Makefile.am index 2ee231ad..13a23a40 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2129,7 +2129,7 @@ charasbytes: symtab6: @echo $@ - @AWKPATH="$(srcdir)" @$(AWK) -f $@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @AWKPATH="$(srcdir)" $(AWK) -f $@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ symtab8: diff --git a/test/Makefile.in b/test/Makefile.in index c7ed278e..37f12202 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -2578,7 +2578,7 @@ charasbytes: symtab6: @echo $@ - @AWKPATH="$(srcdir)" @$(AWK) -f $@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @AWKPATH="$(srcdir)" $(AWK) -f $@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ symtab8: diff --git a/test/symtab6.ok b/test/symtab6.ok index df8ea248..5a9cbfa0 100644 --- a/test/symtab6.ok +++ b/test/symtab6.ok @@ -1,2 +1,2 @@ -/bin/bash: @LANGUAGE=: command not found -EXIT CODE: 127 +gawk: symtab6.awk:1: fatal: cannot assign to arbitrary elements of SYMTAB +EXIT CODE: 2 |