From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/mdoc/An/Makefile | 6 +++++ regress/mdoc/An/break.in | 49 +++++++++++++++++++++++++++++++++++++++++ regress/mdoc/An/break.out_ascii | 29 ++++++++++++++++++++++++ regress/mdoc/An/break.out_lint | 12 ++++++++++ 4 files changed, 96 insertions(+) create mode 100644 regress/mdoc/An/Makefile create mode 100644 regress/mdoc/An/break.in create mode 100644 regress/mdoc/An/break.out_ascii create mode 100644 regress/mdoc/An/break.out_lint (limited to 'regress/mdoc/An') diff --git a/regress/mdoc/An/Makefile b/regress/mdoc/An/Makefile new file mode 100644 index 00000000..b061bf76 --- /dev/null +++ b/regress/mdoc/An/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/08/14 02:00:52 schwarze Exp $ + +REGRESS_TARGETS = break +LINT_TARGETS = break + +.include diff --git a/regress/mdoc/An/break.in b/regress/mdoc/An/break.in new file mode 100644 index 00000000..b783b337 --- /dev/null +++ b/regress/mdoc/An/break.in @@ -0,0 +1,49 @@ +.Dd February 5, 2015 +.Dt AN-BREAK 1 +.Os OpenBSD +.Sh NAME +.Nm An-break +.Nd line breaking of the author macro +.Sh DESCRIPTION +inline is the default: +.An Kristaps , +.An Ingo , +and +.An Joerg . +empty +.An +trailing +.An . +.Pp +.An -split -nosplit bogus +split mode: +.An Kristaps +.An Ingo +.An Joerg +.Pp +empty +.An +trailing +.An . +.An -nosplit +.Sh AUTHORS +split mode is the default: +.An Kristaps +.An Ingo +.An Joerg +.Pp +empty +.An +trailing +.An . +.An -nosplit -split bogus +.Pp +inline: +.An Kristaps , +.An Ingo , +and +.An Joerg . +empty +.An +trailing +.An . diff --git a/regress/mdoc/An/break.out_ascii b/regress/mdoc/An/break.out_ascii new file mode 100644 index 00000000..92cec343 --- /dev/null +++ b/regress/mdoc/An/break.out_ascii @@ -0,0 +1,29 @@ +AN-BREAK(1) General Commands Manual AN-BREAK(1) + +NNAAMMEE + AAnn--bbrreeaakk - line breaking of the author macro + +DDEESSCCRRIIPPTTIIOONN + inline is the default: Kristaps, Ingo, and Joerg. empty trailing . + + split mode: + Kristaps + Ingo + Joerg + + empty + trailing + . + +AAUUTTHHOORRSS + split mode is the default: Kristaps + Ingo + Joerg + + empty + trailing + . + + inline: Kristaps, Ingo, and Joerg. empty trailing . + +OpenBSD February 5, 2015 OpenBSD diff --git a/regress/mdoc/An/break.out_lint b/regress/mdoc/An/break.out_lint new file mode 100644 index 00000000..25622fd1 --- /dev/null +++ b/regress/mdoc/An/break.out_lint @@ -0,0 +1,12 @@ +mandoc: break.in:14:2: WARNING: skipping empty macro: An +mandoc: break.in:16:2: WARNING: skipping empty macro: An +mandoc: break.in:18:12: WARNING: skipping duplicate argument: An -nosplit +mandoc: break.in:18:21: ERROR: skipping excess arguments: An ... bogus +mandoc: break.in:25:2: WARNING: skipping empty macro: An +mandoc: break.in:27:2: WARNING: skipping empty macro: An +mandoc: break.in:36:2: WARNING: skipping empty macro: An +mandoc: break.in:38:2: WARNING: skipping empty macro: An +mandoc: break.in:39:14: WARNING: skipping duplicate argument: An -split +mandoc: break.in:39:21: ERROR: skipping excess arguments: An ... bogus +mandoc: break.in:47:2: WARNING: skipping empty macro: An +mandoc: break.in:49:2: WARNING: skipping empty macro: An -- cgit v1.2.3-56-ge451