gbranden pushed a commit to branch master
in repository groff.
commit 7ed01b354b9b4a991880677d0b5d2cb6b3673b85
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Nov 16 15:56:07 2022 -0600
tmac/tests/e_line-numbering-works.sh: Show output.
This test performs many checks, so make it easier to see the output.
---
tmac/tests/e_line-numbering-works.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tmac/tests/e_line-numbering-works.sh
b/tmac/tests/e_line-numbering-works.sh
index 86e820945..427840e54 100755
--- a/tmac/tests/e_line-numbering-works.sh
+++ b/tmac/tests/e_line-numbering-works.sh
@@ -59,6 +59,8 @@ wail () {
echo '*** basic output (line number field prepended)' >&2
output=$(echo "$input" | "$groff" -Tascii -P-cbou -me)
+echo "$output"
+
# We expect the foregoing to produce a me(7) diagnostic complaining of a
# negative page offset but we're not testing for that.
@@ -87,6 +89,8 @@ echo "$output" | grep -q '^ The.*boxing$' || wail # 5
spaces
echo '*** roff(1)-compatible output (shorter line length)' >&2
output=$(echo "$input" | "$groff" -dCC -Tascii -P-cbou -me)
+echo "$output"
+
echo 'checking for 0 page offset and 5n paragraph indentation (1)' >&2
echo "$output" | grep -q '^ Feck.*vex' || wail # 5 spaces
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit