[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 07/21: tmac/tests/e_line-numbering-works.sh: Show output.
From: |
G. Branden Robinson |
Subject: |
[groff] 07/21: tmac/tests/e_line-numbering-works.sh: Show output. |
Date: |
Fri, 18 Nov 2022 13:47:52 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 7ed01b354b9b4a991880677d0b5d2cb6b3673b85
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 07/21: tmac/tests/e_line-numbering-works.sh: Show output.,
G. Branden Robinson <=