aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Lb
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/Lb
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/Lb')
-rw-r--r--regress/mdoc/Lb/Makefile6
-rw-r--r--regress/mdoc/Lb/badargs.in10
-rw-r--r--regress/mdoc/Lb/badargs.out_ascii10
-rw-r--r--regress/mdoc/Lb/badargs.out_lint1
-rw-r--r--regress/mdoc/Lb/break.in12
-rw-r--r--regress/mdoc/Lb/break.out_ascii13
-rw-r--r--regress/mdoc/Lb/eos.in10
-rw-r--r--regress/mdoc/Lb/eos.out_ascii9
8 files changed, 71 insertions, 0 deletions
diff --git a/regress/mdoc/Lb/Makefile b/regress/mdoc/Lb/Makefile
new file mode 100644
index 00000000..952e0881
--- /dev/null
+++ b/regress/mdoc/Lb/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.6 2014/07/02 20:18:42 schwarze Exp $
+
+REGRESS_TARGETS = break badargs eos
+LINT_TARGETS = badargs
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Lb/badargs.in b/regress/mdoc/Lb/badargs.in
new file mode 100644
index 00000000..f1fea204
--- /dev/null
+++ b/regress/mdoc/Lb/badargs.in
@@ -0,0 +1,10 @@
+.Dd January 2, 2011
+.Dt LB-BADARGS 3
+.Os OpenBSD
+.Sh NAME
+.Nm Lb-badargs
+.Nd bad arguments to the library macro
+.Sh LIBRARY
+.Lb murks
+.Lb
+.Lb mylib another
diff --git a/regress/mdoc/Lb/badargs.out_ascii b/regress/mdoc/Lb/badargs.out_ascii
new file mode 100644
index 00000000..f5bd4afe
--- /dev/null
+++ b/regress/mdoc/Lb/badargs.out_ascii
@@ -0,0 +1,10 @@
+LB-BADARGS(3) Library Functions Manual LB-BADARGS(3)
+
+NNAAMMEE
+ LLbb--bbaaddaarrggss - bad arguments to the library macro
+
+LLIIBBRRAARRYY
+ library ``murks''
+ library ``mylib'' another
+
+OpenBSD January 2, 2011 OpenBSD
diff --git a/regress/mdoc/Lb/badargs.out_lint b/regress/mdoc/Lb/badargs.out_lint
new file mode 100644
index 00000000..52af647d
--- /dev/null
+++ b/regress/mdoc/Lb/badargs.out_lint
@@ -0,0 +1 @@
+mandoc: badargs.in:9:2: WARNING: skipping empty macro: Lb
diff --git a/regress/mdoc/Lb/break.in b/regress/mdoc/Lb/break.in
new file mode 100644
index 00000000..a6c3d1bf
--- /dev/null
+++ b/regress/mdoc/Lb/break.in
@@ -0,0 +1,12 @@
+.Dd June 30, 2010
+.Dt LB-BREAK 3
+.Os OpenBSD
+.Sh NAME
+.Nm Lb-break
+.Nd output line breaks after the library macro
+.Sh LIBRARY
+.Lb mylib
+text
+.Sh DESCRIPTION
+.Lb mylib
+text
diff --git a/regress/mdoc/Lb/break.out_ascii b/regress/mdoc/Lb/break.out_ascii
new file mode 100644
index 00000000..6c9e5698
--- /dev/null
+++ b/regress/mdoc/Lb/break.out_ascii
@@ -0,0 +1,13 @@
+LB-BREAK(3) Library Functions Manual LB-BREAK(3)
+
+NNAAMMEE
+ LLbb--bbrreeaakk - output line breaks after the library macro
+
+LLIIBBRRAARRYY
+ library ``mylib''
+ text
+
+DDEESSCCRRIIPPTTIIOONN
+ library ``mylib'' text
+
+OpenBSD June 30, 2010 OpenBSD
diff --git a/regress/mdoc/Lb/eos.in b/regress/mdoc/Lb/eos.in
new file mode 100644
index 00000000..f48e71a2
--- /dev/null
+++ b/regress/mdoc/Lb/eos.in
@@ -0,0 +1,10 @@
+.Dd November 17, 2012
+.Dt LB-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Lb-eos
+.Nd end of sentence handling after the library macro
+.Sh DESCRIPTION
+Let's use the
+.Lb mylib .
+And some other libraries.
diff --git a/regress/mdoc/Lb/eos.out_ascii b/regress/mdoc/Lb/eos.out_ascii
new file mode 100644
index 00000000..bbb726f1
--- /dev/null
+++ b/regress/mdoc/Lb/eos.out_ascii
@@ -0,0 +1,9 @@
+LB-EOS(1) General Commands Manual LB-EOS(1)
+
+NNAAMMEE
+ LLbb--eeooss - end of sentence handling after the library macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Let's use the library ``mylib''. And some other libraries.
+
+OpenBSD November 17, 2012 OpenBSD