summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/man/PD/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/PD/nextline.in42
-rw-r--r--regress/usr.bin/mandoc/man/PD/nextline.out_ascii33
3 files changed, 77 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/PD/Makefile b/regress/usr.bin/mandoc/man/PD/Makefile
index 86e5d910552..049cbec41f4 100644
--- a/regress/usr.bin/mandoc/man/PD/Makefile
+++ b/regress/usr.bin/mandoc/man/PD/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 2015/02/06 09:38:22 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2015/03/20 14:47:20 schwarze Exp $
-REGRESS_TARGETS = spacing args
+REGRESS_TARGETS = args nextline spacing
LINT_TARGETS = args
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/PD/nextline.in b/regress/usr.bin/mandoc/man/PD/nextline.in
new file mode 100644
index 00000000000..a417f9d82be
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/PD/nextline.in
@@ -0,0 +1,42 @@
+.TH PD-NEXTLINE 1 "March 20, 2015" OpenBSD
+.SH NAME
+PD-nextline \- paragraph distance macro in next-line scope
+.SH DESCRIPTION
+some text
+.SH
+.PD 0v
+NEXT SECTION
+first paragraph
+.PP
+second paragraph
+.PD 1v
+.PP
+third paragraph
+.SS
+.PD 0v
+Subsection
+first paragraph
+.PP
+second paragraph
+.PD 1v
+.PP
+third paragraph
+.TP 6n
+.PD 0v
+tag
+list text
+.TP
+tag
+list text
+.PD 1v
+.TP
+tag
+list text
+.PP
+normal text
+.B
+.PD 0v
+bold text
+normal text
+.PP
+final paragraph
diff --git a/regress/usr.bin/mandoc/man/PD/nextline.out_ascii b/regress/usr.bin/mandoc/man/PD/nextline.out_ascii
new file mode 100644
index 00000000000..f0e7332643f
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/PD/nextline.out_ascii
@@ -0,0 +1,33 @@
+PD-NEXTLINE(1) General Commands Manual PD-NEXTLINE(1)
+
+
+
+NNAAMMEE
+ PD-nextline - paragraph distance macro in next-line scope
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+
+NNEEXXTT SSEECCTTIIOONN
+ first paragraph
+ second paragraph
+
+ third paragraph
+
+ SSuubbsseeccttiioonn
+ first paragraph
+ second paragraph
+
+ third paragraph
+
+ tag list text
+ tag list text
+
+ tag list text
+
+ normal text bboolldd tteexxtt normal text
+ final paragraph
+
+
+
+OpenBSD March 20, 2015 PD-NEXTLINE(1)