aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Ap
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/Ap
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/Ap')
-rw-r--r--regress/mdoc/Ap/Makefile5
-rw-r--r--regress/mdoc/Ap/eos.in12
-rw-r--r--regress/mdoc/Ap/eos.out_ascii10
-rw-r--r--regress/mdoc/Ap/middle.in8
-rw-r--r--regress/mdoc/Ap/middle.out_ascii9
5 files changed, 44 insertions, 0 deletions
diff --git a/regress/mdoc/Ap/Makefile b/regress/mdoc/Ap/Makefile
new file mode 100644
index 00000000..4ee49253
--- /dev/null
+++ b/regress/mdoc/Ap/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.2 2012/11/16 18:40:39 schwarze Exp $
+
+REGRESS_TARGETS = middle eos
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Ap/eos.in b/regress/mdoc/Ap/eos.in
new file mode 100644
index 00000000..032cf72a
--- /dev/null
+++ b/regress/mdoc/Ap/eos.in
@@ -0,0 +1,12 @@
+.Dd November 16, 2012
+.Dt AP-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ap-eos
+.Nd end of sentence handling after the apostrophe macro
+.Sh DESCRIPTION
+The first sentence is
+.An Ingo Ap s .
+The second is
+.An Kristaps Ap .
+No idea about the third.
diff --git a/regress/mdoc/Ap/eos.out_ascii b/regress/mdoc/Ap/eos.out_ascii
new file mode 100644
index 00000000..c91617c6
--- /dev/null
+++ b/regress/mdoc/Ap/eos.out_ascii
@@ -0,0 +1,10 @@
+AP-EOS(1) General Commands Manual AP-EOS(1)
+
+NNAAMMEE
+ AApp--eeooss - end of sentence handling after the apostrophe macro
+
+DDEESSCCRRIIPPTTIIOONN
+ The first sentence is Ingo's. The second is Kristaps'. No idea about
+ the third.
+
+OpenBSD November 16, 2012 OpenBSD
diff --git a/regress/mdoc/Ap/middle.in b/regress/mdoc/Ap/middle.in
new file mode 100644
index 00000000..03d7b6f9
--- /dev/null
+++ b/regress/mdoc/Ap/middle.in
@@ -0,0 +1,8 @@
+.Dd September 30, 2011
+.Dt AP-MIDDLE 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ap-middle
+.Nd apostrophe in the middle of a macro line
+.Sh DESCRIPTION
+.Xr mandoc 1 Ap s
diff --git a/regress/mdoc/Ap/middle.out_ascii b/regress/mdoc/Ap/middle.out_ascii
new file mode 100644
index 00000000..c51bd6d8
--- /dev/null
+++ b/regress/mdoc/Ap/middle.out_ascii
@@ -0,0 +1,9 @@
+AP-MIDDLE(1) General Commands Manual AP-MIDDLE(1)
+
+NNAAMMEE
+ AApp--mmiiddddllee - apostrophe in the middle of a macro line
+
+DDEESSCCRRIIPPTTIIOONN
+ mandoc(1)'s
+
+OpenBSD September 30, 2011 OpenBSD