summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-22 13:03:51 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-22 15:18:20 -0600
commit14b01348259c2159e5221f797bc9b9a68260a7d3 (patch)
tree48fbb85a05fda93c08155a915266ebe3bd971d70 /tmac
parentb2157f22b5b2a3abb8f5a972833e9335752cb09b (diff)
downloadgroff-git-14b01348259c2159e5221f797bc9b9a68260a7d3.tar.gz
[tests]: Have more tests report output.
* 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: Do it.
Diffstat (limited to 'tmac')
-rwxr-xr-xtmac/tests/an-ext_MR-works.sh1
-rwxr-xr-xtmac/tests/an_MR-works.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/tmac/tests/an-ext_MR-works.sh b/tmac/tests/an-ext_MR-works.sh
index 471bbf2db..c922ba26f 100755
--- a/tmac/tests/an-ext_MR-works.sh
+++ b/tmac/tests/an-ext_MR-works.sh
@@ -40,6 +40,7 @@ The real work is done by
.MR bar 1 .'
output=$(echo "$input" | "$groff" -rmG=0 -Tascii -man -Z | nl)
+echo "$output"
# Expected:
# 88 wf2
diff --git a/tmac/tests/an_MR-works.sh b/tmac/tests/an_MR-works.sh
index 56faae69c..3a84e62d3 100755
--- a/tmac/tests/an_MR-works.sh
+++ b/tmac/tests/an_MR-works.sh
@@ -31,6 +31,7 @@ The real work is done by
.MR bar 1 .'
OUTPUT=$(echo "$INPUT" | "$groff" -Tascii -rU1 -man -Z | nl)
+echo "$OUTPUT"
# Expected:
# 91 x X tty: link man:bar(1)