summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Dv
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Dv')
-rw-r--r--regress/mdoc/Dv/Makefile6
-rw-r--r--regress/mdoc/Dv/font.in13
-rw-r--r--regress/mdoc/Dv/font.out_ascii11
-rw-r--r--regress/mdoc/Dv/noarg.in12
-rw-r--r--regress/mdoc/Dv/noarg.out_ascii9
-rw-r--r--regress/mdoc/Dv/noarg.out_lint1
6 files changed, 52 insertions, 0 deletions
diff --git a/regress/mdoc/Dv/Makefile b/regress/mdoc/Dv/Makefile
new file mode 100644
index 00000000..cfe3ad0b
--- /dev/null
+++ b/regress/mdoc/Dv/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $
+
+REGRESS_TARGETS = font noarg
+LINT_TARGETS = noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Dv/font.in b/regress/mdoc/Dv/font.in
new file mode 100644
index 00000000..8e3c5bcb
--- /dev/null
+++ b/regress/mdoc/Dv/font.in
@@ -0,0 +1,13 @@
+.Dd October 21, 2011
+.Dt DV-FONT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Dv-font
+.Nd formatting of defined variables
+.Sh DESCRIPTION
+The
+.Dv BUFSIZ
+macro.
+.Pp
+And with
+.Dv some \\fIembedded\\fP string .
diff --git a/regress/mdoc/Dv/font.out_ascii b/regress/mdoc/Dv/font.out_ascii
new file mode 100644
index 00000000..88f0760d
--- /dev/null
+++ b/regress/mdoc/Dv/font.out_ascii
@@ -0,0 +1,11 @@
+DV-FONT(1) General Commands Manual DV-FONT(1)
+
+NNAAMMEE
+ DDvv--ffoonntt - formatting of defined variables
+
+DDEESSCCRRIIPPTTIIOONN
+ The BUFSIZ macro.
+
+ And with some _e_m_b_e_d_d_e_d string.
+
+OpenBSD October 21, 2011 OpenBSD
diff --git a/regress/mdoc/Dv/noarg.in b/regress/mdoc/Dv/noarg.in
new file mode 100644
index 00000000..86155b3a
--- /dev/null
+++ b/regress/mdoc/Dv/noarg.in
@@ -0,0 +1,12 @@
+.Dd July 2, 2014
+.Dt DV-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm Dv-noarg
+.Nd defined variable macro without an argument
+.Sh DESCRIPTION
+with variable:
+.Dv NULL
+no variable:
+.Dv
+end of test document
diff --git a/regress/mdoc/Dv/noarg.out_ascii b/regress/mdoc/Dv/noarg.out_ascii
new file mode 100644
index 00000000..b40d6635
--- /dev/null
+++ b/regress/mdoc/Dv/noarg.out_ascii
@@ -0,0 +1,9 @@
+DV-NOARG(1) General Commands Manual DV-NOARG(1)
+
+NNAAMMEE
+ DDvv--nnooaarrgg - defined variable macro without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with variable: NULL no variable: end of test document
+
+OpenBSD July 2, 2014 OpenBSD
diff --git a/regress/mdoc/Dv/noarg.out_lint b/regress/mdoc/Dv/noarg.out_lint
new file mode 100644
index 00000000..cac45101
--- /dev/null
+++ b/regress/mdoc/Dv/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:11:2: WARNING: skipping empty macro: Dv