gbranden pushed a commit to branch master in repository groff. commit 295f4283707dafe7a824a830e74ee4b13b9d39e0 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sun Jul 27 19:36:35 2025 -0500
[man]: Fix behavioral nit in test script. Consistently send progress messages to the standard error stream. --- tmac/tests/an_S-register-works.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tmac/tests/an_S-register-works.sh b/tmac/tests/an_S-register-works.sh index 62c643815..6385e8a66 100755 --- a/tmac/tests/an_S-register-works.sh +++ b/tmac/tests/an_S-register-works.sh @@ -52,13 +52,13 @@ Paragraph ps=\n[.s]z, vs=\n[.v]u. output=$(printf "%s\n" "$input" | "$groff" -a -rS10 -man -Tps) echo "$output" -echo "checking header and footer parameters when given -rS10" +echo "checking header and footer parameters when given -rS10" >&2 echo "$output" | grep -q 'suite ps=10z, vs=12000u' || wail -echo "checking section heading parameters when given -rS10" +echo "checking section heading parameters when given -rS10" >&2 echo "$output" | grep -q 'Section ps=10.95z, vs=12000u' || wail -echo "checking subsection heading parameters when given -rS10" +echo "checking subsection heading parameters when given -rS10" >&2 echo "$output" | grep -q 'Subsection ps=10z, vs=12000u' || wail -echo "checking paragraph parameters when given -rS10" +echo "checking paragraph parameters when given -rS10" >&2 echo "$output" | grep -q 'Paragraph ps=10z, vs=12000u' || wail # Expected output: @@ -71,13 +71,13 @@ echo "$output" | grep -q 'Paragraph ps=10z, vs=12000u' || wail output=$(printf "%s\n" "$input" | "$groff" -a -rS11 -man -Tps) echo "$output" -echo "checking header and footer parameters when given -rS11" +echo "checking header and footer parameters when given -rS11" >&2 echo "$output" | grep -q 'suite ps=10.95z, vs=13600u' || wail -echo "checking section heading parameters when given -rS11" +echo "checking section heading parameters when given -rS11" >&2 echo "$output" | grep -q 'Section ps=12z, vs=13600u' || wail -echo "checking subsection heading parameters when given -rS11" +echo "checking subsection heading parameters when given -rS11" >&2 echo "$output" | grep -q 'Subsection ps=10.95z, vs=13600u' || wail -echo "checking paragraph parameters when given -rS11" +echo "checking paragraph parameters when given -rS11" >&2 echo "$output" | grep -q 'Paragraph ps=10.95z, vs=13600u' || wail # Expected output: @@ -90,13 +90,13 @@ echo "$output" | grep -q 'Paragraph ps=10.95z, vs=13600u' || wail output=$(printf "%s\n" "$input" | "$groff" -a -rS12 -man -Tps) echo "$output" -echo "checking header and footer parameters when given -rS12" +echo "checking header and footer parameters when given -rS12" >&2 echo "$output" | grep -q 'suite ps=12z, vs=14500u' || wail -echo "checking section heading parameters when given -rS12" +echo "checking section heading parameters when given -rS12" >&2 echo "$output" | grep -q 'Section ps=14.4z, vs=14500u' || wail -echo "checking subsection heading parameters when given -rS12" +echo "checking subsection heading parameters when given -rS12" >&2 echo "$output" | grep -q 'Subsection ps=12z, vs=14500u' || wail -echo "checking paragraph parameters when given -rS12" +echo "checking paragraph parameters when given -rS12" >&2 echo "$output" | grep -q 'Paragraph ps=12z, vs=14500u' || wail test -z "$fail" _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit