summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/roff/ti/Makefile10
-rw-r--r--regress/usr.bin/mandoc/roff/ti/wide.in19
-rw-r--r--regress/usr.bin/mandoc/roff/ti/wide.out_ascii22
3 files changed, 49 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/roff/ti/Makefile b/regress/usr.bin/mandoc/roff/ti/Makefile
index 6203d4f4821..aa0b1f97325 100644
--- a/regress/usr.bin/mandoc/roff/ti/Makefile
+++ b/regress/usr.bin/mandoc/roff/ti/Makefile
@@ -1,5 +1,11 @@
-# $OpenBSD: Makefile,v 1.1 2017/05/08 15:33:43 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2020/09/03 17:37:06 schwarze Exp $
-REGRESS_TARGETS = basic-mdoc basic-man
+REGRESS_TARGETS = basic-mdoc basic-man wide
+
+# groff-1.22.4 defect:
+# - Excessive temporare indentations cause excessive line lengths
+# instead of being truncated to resonable indentations.
+
+SKIP_GROFF = wide
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/roff/ti/wide.in b/regress/usr.bin/mandoc/roff/ti/wide.in
new file mode 100644
index 00000000000..46a1f90be84
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/ti/wide.in
@@ -0,0 +1,19 @@
+.\" $OpenBSD: wide.in,v 1.1 2020/09/03 17:37:06 schwarze Exp $
+.TH TI-WIDE 1 "September 3, 2020"
+.SH NAME
+ti-wide \- excessive temporary indentation
+.SH DESCRIPTION
+Absolute .ti of more than 72n:
+.ti 80n
+max
+.RS 40n
+Indented block plus excessive relative indentation:
+.ti +40n
+max
+.RE
+.RS 66n
+Block beyond 72n:
+.ti +4n
+same
+.RE
+Back to normal.
diff --git a/regress/usr.bin/mandoc/roff/ti/wide.out_ascii b/regress/usr.bin/mandoc/roff/ti/wide.out_ascii
new file mode 100644
index 00000000000..95a98ddcfaa
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/ti/wide.out_ascii
@@ -0,0 +1,22 @@
+TI-WIDE(1) General Commands Manual TI-WIDE(1)
+
+
+
+NNAAMMEE
+ ti-wide - excessive temporary indentation
+
+DDEESSCCRRIIPPTTIIOONN
+ Absolute .ti of more than 72n:
+ max
+ Indented block plus excessive
+ relative indentation:
+ max
+ Block
+ beyond
+ 72n:
+ same
+ Back to normal.
+
+
+
+OpenBSD September 3, 2020 TI-WIDE(1)