diff options
Diffstat (limited to 'regress/roff')
-rw-r--r-- | regress/roff/de/Makefile | 9 | ||||
-rw-r--r-- | regress/roff/de/infinite.in | 14 | ||||
-rw-r--r-- | regress/roff/de/infinite.out_ascii | 9 | ||||
-rw-r--r-- | regress/roff/de/infinite.out_lint | 1 |
4 files changed, 31 insertions, 2 deletions
diff --git a/regress/roff/de/Makefile b/regress/roff/de/Makefile index 9488ce05..43bcf00f 100644 --- a/regress/roff/de/Makefile +++ b/regress/roff/de/Makefile @@ -1,7 +1,12 @@ # $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $ -REGRESS_TARGETS = append cond escname factorial indir startde TH Dd -LINT_TARGETS = escname indir +REGRESS_TARGETS = append cond escname factorial indir infinite startde TH Dd +LINT_TARGETS = escname indir infinite + +# groff-1.22.3 defect: +# infinite recursion aborts output completely + +SKIP_GROFF = infinite .include <bsd.regress.mk> diff --git a/regress/roff/de/infinite.in b/regress/roff/de/infinite.in new file mode 100644 index 00000000..683eba7f --- /dev/null +++ b/regress/roff/de/infinite.in @@ -0,0 +1,14 @@ +.Dd March 7, 2017 +.Dt DE-INFINITE 1 +.Os OpenBSD +.Sh NAME +.Nm de-infinite +.Nd inifinte recursion in a user-defined macro +.Sh DESCRIPTION +initial text +.de mym +.mym +not printed +.. +.mym +final text diff --git a/regress/roff/de/infinite.out_ascii b/regress/roff/de/infinite.out_ascii new file mode 100644 index 00000000..7f8210ab --- /dev/null +++ b/regress/roff/de/infinite.out_ascii @@ -0,0 +1,9 @@ +DE-INFINITE(1) General Commands Manual DE-INFINITE(1) + +NNAAMMEE + ddee--iinnffiinniittee - inifinte recursion in a user-defined macro + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +OpenBSD March 7, 2017 OpenBSD diff --git a/regress/roff/de/infinite.out_lint b/regress/roff/de/infinite.out_lint new file mode 100644 index 00000000..168c7be4 --- /dev/null +++ b/regress/roff/de/infinite.out_lint @@ -0,0 +1 @@ +mandoc: infinite.in:13:5: ERROR: input stack limit exceeded, infinite loop? |