diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-22 13:00:30 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-22 15:16:52 -0600 |
commit | b2157f22b5b2a3abb8f5a972833e9335752cb09b (patch) | |
tree | 1ea88927c7640ef4d0d93bba5bb64e6710efba93 /tmac | |
parent | dd51b1fdc89b556b280bd6dcabe0b3b13d0260f6 (diff) | |
download | groff-git-b2157f22b5b2a3abb8f5a972833e9335752cb09b.tar.gz |
[tests]: Avoid failures when $GROFF_ENCODING set.
* src/roff/groff/tests/ab_works.sh:
* src/roff/groff/tests/handle_special_input_code_points.sh:
* src/roff/groff/tests/initialization_is_quiet.sh:
* src/roff/groff/tests/msoquiet_works.sh:
* src/roff/groff/tests/soquiet_works.sh:
* tmac/tests/an-ext_MR-works.sh:
* tmac/tests/an_MR-works.sh:
* tmac/tests/an_font-remapping-does-not-affect-titles.sh: Unset
$GROFF_ENCODING before running test because preconv(1) confounds these
tests.
Thanks to Alexis for reporting this problem.
Diffstat (limited to 'tmac')
-rwxr-xr-x | tmac/tests/an-ext_MR-works.sh | 3 | ||||
-rwxr-xr-x | tmac/tests/an_MR-works.sh | 3 | ||||
-rwxr-xr-x | tmac/tests/an_font-remapping-does-not-affect-titles.sh | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tmac/tests/an-ext_MR-works.sh b/tmac/tests/an-ext_MR-works.sh index c195b071b..471bbf2db 100755 --- a/tmac/tests/an-ext_MR-works.sh +++ b/tmac/tests/an-ext_MR-works.sh @@ -20,6 +20,9 @@ groff="${abs_top_builddir:-.}/test-groff" +# Keep preconv from being run. +unset GROFF_ENCODING + fail= wail () { diff --git a/tmac/tests/an_MR-works.sh b/tmac/tests/an_MR-works.sh index 2b561a805..56faae69c 100755 --- a/tmac/tests/an_MR-works.sh +++ b/tmac/tests/an_MR-works.sh @@ -20,6 +20,9 @@ groff="${abs_top_builddir:-.}/test-groff" +# Keep preconv from being run. +unset GROFF_ENCODING + INPUT='.TH foo 1 2021-10-06 "groff test suite" .SH Name foo \\- a command with a very short name diff --git a/tmac/tests/an_font-remapping-does-not-affect-titles.sh b/tmac/tests/an_font-remapping-does-not-affect-titles.sh index d7a663ae8..3332cc1ad 100755 --- a/tmac/tests/an_font-remapping-does-not-affect-titles.sh +++ b/tmac/tests/an_font-remapping-does-not-affect-titles.sh @@ -27,6 +27,9 @@ groff="${abs_top_builddir:-.}/test-groff" # we want to ensure that font remapping for the headings doesn't affect # page footers and headers. +# Keep preconv from being run. +unset GROFF_ENCODING + input='.TH \\fIfoo\\fP 1 2021-10-04 "groff test suite" .SH Name foo \\- a command with a very short name |