diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-15 23:21:57 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-15 23:56:09 -0600 |
commit | 6b4f3afff2040a151696fd7a9bfb3d188be7d7a7 (patch) | |
tree | e07febfe9a99ac112006f067edf5e69a2e4e8288 /tmac | |
parent | 195e17f2d9a42cebdd4aa6fc4ce4e65342c26181 (diff) | |
download | groff-git-6b4f3afff2040a151696fd7a9bfb3d188be7d7a7.tar.gz |
tmac/tests/an_use-input-traps-correctly.sh: Fix.
* tmac/tests/an_use-input-traps-correctly.sh: Explicitly test `SM` and
`SB` with 'ps' output device. If one set GROFF_TYPESETTER=utf8 in the
test environment, these test cases would fail. Thanks to John Gardner
for the report.
Diffstat (limited to 'tmac')
-rwxr-xr-x | tmac/tests/an_use-input-traps-correctly.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmac/tests/an_use-input-traps-correctly.sh b/tmac/tests/an_use-input-traps-correctly.sh index c4094beb9..4ad76e64d 100755 --- a/tmac/tests/an_use-input-traps-correctly.sh +++ b/tmac/tests/an_use-input-traps-correctly.sh @@ -80,7 +80,7 @@ input=".TH foo 1 2022-06-07 \"groff test suite\" .SM \\\\n[.s]\c \\n[.s]" -output=$(printf "%s\n" "$input" | "$groff" -man -a 2>&1) +output=$(printf "%s\n" "$input" | "$groff" -man -a -Tps 2>&1) echo "checking that SM macro uses correct input trap 'it'" >&2 echo "$output" | grep -Fqx '910' || wail @@ -91,7 +91,7 @@ input=".TH foo 1 2022-06-07 \"groff test suite\" .SB \\\\n[.fn]\\\\n[.s]\c \\n[.fn]\\n[.s]" -output=$(printf "%s\n" "$input" | "$groff" -man -a 2>&1) +output=$(printf "%s\n" "$input" | "$groff" -man -a -Tps 2>&1) echo "checking that SB macro uses correct input trap 'it'" >&2 echo "$output" | grep -Fqx 'TB9TR10' || wail |