aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Dl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commitd9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch)
treec07efd74ac58650949dc67576001a720e688319f /regress/mdoc/Dl
parentcdbb1fca07752eb230e5219c22e9e65075c85b82 (diff)
downloadmandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/mdoc/Dl')
-rw-r--r--regress/mdoc/Dl/Makefile6
-rw-r--r--regress/mdoc/Dl/spacing.in12
-rw-r--r--regress/mdoc/Dl/spacing.out_ascii12
-rw-r--r--regress/mdoc/Dl/spacing.out_lint1
4 files changed, 31 insertions, 0 deletions
diff --git a/regress/mdoc/Dl/Makefile b/regress/mdoc/Dl/Makefile
new file mode 100644
index 00000000..bed27d1b
--- /dev/null
+++ b/regress/mdoc/Dl/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2015/02/06 02:04:35 schwarze Exp $
+
+REGRESS_TARGETS = spacing
+LINT_TARGETS = spacing
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Dl/spacing.in b/regress/mdoc/Dl/spacing.in
new file mode 100644
index 00000000..cc683872
--- /dev/null
+++ b/regress/mdoc/Dl/spacing.in
@@ -0,0 +1,12 @@
+.Dd February 5, 2015
+.Dt DL-SPACING 1
+.Os OpenBSD
+.Sh NAME
+.Nm Dl-spacing
+.Nd spacing in and around one-line literal displays
+.Sh DESCRIPTION
+preceding text
+.Dl spacing in and around one-line literal displays
+empty display:
+.Dl
+following text
diff --git a/regress/mdoc/Dl/spacing.out_ascii b/regress/mdoc/Dl/spacing.out_ascii
new file mode 100644
index 00000000..db5958da
--- /dev/null
+++ b/regress/mdoc/Dl/spacing.out_ascii
@@ -0,0 +1,12 @@
+DL-SPACING(1) General Commands Manual DL-SPACING(1)
+
+NNAAMMEE
+ DDll--ssppaacciinngg - spacing in and around one-line literal displays
+
+DDEESSCCRRIIPPTTIIOONN
+ preceding text
+ spacing in and around one-line literal displays
+ empty display:
+ following text
+
+OpenBSD February 5, 2015 OpenBSD
diff --git a/regress/mdoc/Dl/spacing.out_lint b/regress/mdoc/Dl/spacing.out_lint
new file mode 100644
index 00000000..7ee4919d
--- /dev/null
+++ b/regress/mdoc/Dl/spacing.out_lint
@@ -0,0 +1 @@
+mandoc: spacing.in:11:2: WARNING: empty block: Dl