aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Ev
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/Ev
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/Ev')
-rw-r--r--regress/mdoc/Ev/Makefile6
-rw-r--r--regress/mdoc/Ev/font.in13
-rw-r--r--regress/mdoc/Ev/font.out_ascii11
-rw-r--r--regress/mdoc/Ev/noarg.in12
-rw-r--r--regress/mdoc/Ev/noarg.out_ascii9
-rw-r--r--regress/mdoc/Ev/noarg.out_lint1
6 files changed, 52 insertions, 0 deletions
diff --git a/regress/mdoc/Ev/Makefile b/regress/mdoc/Ev/Makefile
new file mode 100644
index 00000000..cfe3ad0b
--- /dev/null
+++ b/regress/mdoc/Ev/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/Ev/font.in b/regress/mdoc/Ev/font.in
new file mode 100644
index 00000000..a9213d81
--- /dev/null
+++ b/regress/mdoc/Ev/font.in
@@ -0,0 +1,13 @@
+.Dd October 21, 2011
+.Dt EV-FONT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ev-font
+.Nd formatting of environment variables
+.Sh DESCRIPTION
+The
+.Ev PATH
+variable.
+.Pp
+And with
+.Ev some \\fIembedded\\fP string .
diff --git a/regress/mdoc/Ev/font.out_ascii b/regress/mdoc/Ev/font.out_ascii
new file mode 100644
index 00000000..fad07429
--- /dev/null
+++ b/regress/mdoc/Ev/font.out_ascii
@@ -0,0 +1,11 @@
+EV-FONT(1) General Commands Manual EV-FONT(1)
+
+NNAAMMEE
+ EEvv--ffoonntt - formatting of environment variables
+
+DDEESSCCRRIIPPTTIIOONN
+ The PATH variable.
+
+ And with some _e_m_b_e_d_d_e_d string.
+
+OpenBSD October 21, 2011 OpenBSD
diff --git a/regress/mdoc/Ev/noarg.in b/regress/mdoc/Ev/noarg.in
new file mode 100644
index 00000000..84c1815d
--- /dev/null
+++ b/regress/mdoc/Ev/noarg.in
@@ -0,0 +1,12 @@
+.Dd July 2, 2014
+.Dt EV-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ev-noarg
+.Nd environment variable macro without an argument
+.Sh DESCRIPTION
+with variable:
+.Ev HOME
+no variable:
+.Ev
+end of test document
diff --git a/regress/mdoc/Ev/noarg.out_ascii b/regress/mdoc/Ev/noarg.out_ascii
new file mode 100644
index 00000000..11705a38
--- /dev/null
+++ b/regress/mdoc/Ev/noarg.out_ascii
@@ -0,0 +1,9 @@
+EV-NOARG(1) General Commands Manual EV-NOARG(1)
+
+NNAAMMEE
+ EEvv--nnooaarrgg - environment variable macro without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with variable: HOME no variable: end of test document
+
+OpenBSD July 2, 2014 OpenBSD
diff --git a/regress/mdoc/Ev/noarg.out_lint b/regress/mdoc/Ev/noarg.out_lint
new file mode 100644
index 00000000..a41541b0
--- /dev/null
+++ b/regress/mdoc/Ev/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ev