summaryrefslogtreecommitdiffstats
path: root/regress/man/blank
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
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/man/blank
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/man/blank')
-rw-r--r--regress/man/blank/Makefile6
-rw-r--r--regress/man/blank/afterSH.in77
-rw-r--r--regress/man/blank/afterSH.out_ascii58
-rw-r--r--regress/man/blank/afterSH.out_lint4
-rw-r--r--regress/man/blank/afterSS.in78
-rw-r--r--regress/man/blank/afterSS.out_ascii60
-rw-r--r--regress/man/blank/afterSS.out_lint4
-rw-r--r--regress/man/blank/line.in86
-rw-r--r--regress/man/blank/line.out_ascii81
-rw-r--r--regress/man/blank/line.out_lint4
10 files changed, 458 insertions, 0 deletions
diff --git a/regress/man/blank/Makefile b/regress/man/blank/Makefile
new file mode 100644
index 00000000..f4759d32
--- /dev/null
+++ b/regress/man/blank/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.3 2014/07/02 05:51:49 schwarze Exp $
+
+REGRESS_TARGETS = line afterSH afterSS
+LINT_TARGETS = line afterSH afterSS
+
+.include <bsd.regress.mk>
diff --git a/regress/man/blank/afterSH.in b/regress/man/blank/afterSH.in
new file mode 100644
index 00000000..28934fdf
--- /dev/null
+++ b/regress/man/blank/afterSH.in
@@ -0,0 +1,77 @@
+.TH BLANK-AFTERSH 1 "November 10, 2013" OpenBSD
+.SH NAME
+blank-afterSH \- handling of blank lines right after a section heading
+.SH DESCRIPTION
+
+blank line before text
+.SH DESCRIPTION 2
+
+.PP
+blank line before PP
+.SH DESCRIPTION 3
+
+.RS 6n
+blank line before RS
+.RE
+.SH DESCRIPTION 4
+
+.IP TAG
+blank line before an indented paragraph
+.SH DESCRIPTION 5
+
+.TP
+TAG
+blank line before a tagged paragraph
+.SH DESCRIPTION 6
+
+.HP
+blank line before a hanged paragraph
+.SH DESCRIPTION 7
+
+.br
+blank line before br
+.SH DESCRIPTION 8
+
+.sp
+blank line before sp
+.SH DESCRIPTION 10
+
+
+double blank line before text
+.SH DESCRIPTION 12
+
+
+.PP
+double blank line before PP
+.SH DESCRIPTION 13
+
+
+.RS 6n
+double blank line before RS
+.RE
+.SH DESCRIPTION 14
+
+
+.IP TAG
+double blank line before an indented paragraph
+.SH DESCRIPTION 15
+
+
+.TP
+TAG
+double blank line before a tagged paragraph
+.SH DESCRIPTION 16
+
+
+.HP
+double blank line before a hanged paragraph
+.SH DESCRIPTION 17
+
+
+.br
+double blank line before br
+.SH DESCRIPTION 18
+
+
+.sp
+double blank line before sp
diff --git a/regress/man/blank/afterSH.out_ascii b/regress/man/blank/afterSH.out_ascii
new file mode 100644
index 00000000..aac7abab
--- /dev/null
+++ b/regress/man/blank/afterSH.out_ascii
@@ -0,0 +1,58 @@
+BLANK-AFTERSH(1) General Commands Manual BLANK-AFTERSH(1)
+
+
+
+NNAAMMEE
+ blank-afterSH - handling of blank lines right after a section heading
+
+DDEESSCCRRIIPPTTIIOONN
+ blank line before text
+
+DDEESSCCRRIIPPTTIIOONN 22
+ blank line before PP
+
+DDEESSCCRRIIPPTTIIOONN 33
+ blank line before RS
+
+DDEESSCCRRIIPPTTIIOONN 44
+ TAG blank line before an indented paragraph
+
+DDEESSCCRRIIPPTTIIOONN 55
+ TAG blank line before a tagged paragraph
+
+DDEESSCCRRIIPPTTIIOONN 66
+ blank line before a hanged paragraph
+
+DDEESSCCRRIIPPTTIIOONN 77
+ blank line before br
+
+DDEESSCCRRIIPPTTIIOONN 88
+ blank line before sp
+
+DDEESSCCRRIIPPTTIIOONN 1100
+ double blank line before text
+
+DDEESSCCRRIIPPTTIIOONN 1122
+ double blank line before PP
+
+DDEESSCCRRIIPPTTIIOONN 1133
+ double blank line before RS
+
+DDEESSCCRRIIPPTTIIOONN 1144
+ TAG double blank line before an indented paragraph
+
+DDEESSCCRRIIPPTTIIOONN 1155
+ TAG double blank line before a tagged paragraph
+
+DDEESSCCRRIIPPTTIIOONN 1166
+ double blank line before a hanged paragraph
+
+DDEESSCCRRIIPPTTIIOONN 1177
+ double blank line before br
+
+DDEESSCCRRIIPPTTIIOONN 1188
+ double blank line before sp
+
+
+
+OpenBSD November 10, 2013 BLANK-AFTERSH(1)
diff --git a/regress/man/blank/afterSH.out_lint b/regress/man/blank/afterSH.out_lint
new file mode 100644
index 00000000..0a77f218
--- /dev/null
+++ b/regress/man/blank/afterSH.out_lint
@@ -0,0 +1,4 @@
+mandoc: afterSH.in:31:2: WARNING: skipping paragraph macro: br after SH
+mandoc: afterSH.in:35:2: WARNING: skipping paragraph macro: sp after SH
+mandoc: afterSH.in:71:2: WARNING: skipping paragraph macro: br after SH
+mandoc: afterSH.in:76:2: WARNING: skipping paragraph macro: sp after SH
diff --git a/regress/man/blank/afterSS.in b/regress/man/blank/afterSS.in
new file mode 100644
index 00000000..cbf7afe3
--- /dev/null
+++ b/regress/man/blank/afterSS.in
@@ -0,0 +1,78 @@
+.TH BLANK-AFTERSS 1 "November 10, 2013" OpenBSD
+.SH NAME
+blank-afterSS \- handling of blank lines right after a subsection heading
+.SH DESCRIPTION
+.SS 1
+
+blank line before text
+.SS 2
+
+.PP
+blank line before PP
+.SS 3
+
+.RS 6n
+blank line before RS
+.RE
+.SS 4
+
+.IP TAG
+blank line before an indented paragraph
+.SS 5
+
+.TP
+TAG
+blank line before a tagged paragraph
+.SS 6
+
+.HP
+blank line before a hanged paragraph
+.SS 7
+
+.br
+blank line before br
+.SS 8
+
+.sp
+blank line before sp
+.SS 10
+
+
+double blank line before text
+.SS 12
+
+
+.PP
+double blank line before PP
+.SS 13
+
+
+.RS 6n
+double blank line before RS
+.RE
+.SS 14
+
+
+.IP TAG
+double blank line before an indented paragraph
+.SS 15
+
+
+.TP
+TAG
+double blank line before a tagged paragraph
+.SS 16
+
+
+.HP
+double blank line before a hanged paragraph
+.SS 17
+
+
+.br
+double blank line before br
+.SS 18
+
+
+.sp
+double blank line before sp
diff --git a/regress/man/blank/afterSS.out_ascii b/regress/man/blank/afterSS.out_ascii
new file mode 100644
index 00000000..1b30721e
--- /dev/null
+++ b/regress/man/blank/afterSS.out_ascii
@@ -0,0 +1,60 @@
+BLANK-AFTERSS(1) General Commands Manual BLANK-AFTERSS(1)
+
+
+
+NNAAMMEE
+ blank-afterSS - handling of blank lines right after a subsection
+ heading
+
+DDEESSCCRRIIPPTTIIOONN
+ 11
+ blank line before text
+
+ 22
+ blank line before PP
+
+ 33
+ blank line before RS
+
+ 44
+ TAG blank line before an indented paragraph
+
+ 55
+ TAG blank line before a tagged paragraph
+
+ 66
+ blank line before a hanged paragraph
+
+ 77
+ blank line before br
+
+ 88
+ blank line before sp
+
+ 1100
+ double blank line before text
+
+ 1122
+ double blank line before PP
+
+ 1133
+ double blank line before RS
+
+ 1144
+ TAG double blank line before an indented paragraph
+
+ 1155
+ TAG double blank line before a tagged paragraph
+
+ 1166
+ double blank line before a hanged paragraph
+
+ 1177
+ double blank line before br
+
+ 1188
+ double blank line before sp
+
+
+
+OpenBSD November 10, 2013 BLANK-AFTERSS(1)
diff --git a/regress/man/blank/afterSS.out_lint b/regress/man/blank/afterSS.out_lint
new file mode 100644
index 00000000..5129637c
--- /dev/null
+++ b/regress/man/blank/afterSS.out_lint
@@ -0,0 +1,4 @@
+mandoc: afterSS.in:32:2: WARNING: skipping paragraph macro: br after SS
+mandoc: afterSS.in:36:2: WARNING: skipping paragraph macro: sp after SS
+mandoc: afterSS.in:72:2: WARNING: skipping paragraph macro: br after SS
+mandoc: afterSS.in:77:2: WARNING: skipping paragraph macro: sp after SS
diff --git a/regress/man/blank/line.in b/regress/man/blank/line.in
new file mode 100644
index 00000000..e9479960
--- /dev/null
+++ b/regress/man/blank/line.in
@@ -0,0 +1,86 @@
+.TH BLANK-LINE 1 "July 14, 2012" OpenBSD
+.SH NAME
+blank-line \- handling of blank lines
+.SH DESCRIPTION
+.sp
+.PP
+Single br:
+.br
+Single PP:
+.PP
+Single sp:
+.sp
+Single blank:
+
+Double br:
+.br
+.br
+br PP:
+.br
+.PP
+PP br:
+.PP
+.br
+Double PP:
+.PP
+.PP
+br sp:
+.br
+.sp
+sp br:
+.sp
+.br
+PP sp:
+.PP
+.sp
+PP sp 2v:
+.PP
+.sp 2v
+sp PP:
+.sp
+.PP
+Double sp:
+.sp
+.sp
+br blank:
+.br
+
+blank br:
+
+.br
+PP blank:
+.PP
+
+blank PP:
+
+.PP
+sp blank:
+.sp
+
+blank sp:
+
+.sp
+Double blank:
+
+
+RS sp 2v:
+.RS 6n
+.sp 2v
+RE sp 2v:
+.RE
+.sp 2v
+IP sp 2v:
+.IP tag 6n
+.sp 2v
+TP sp 2v:
+.TP 6n
+tag
+.sp 2v
+SH sp 2v:
+.SH CUSTOM
+.sp 2v
+SS sp PP:
+.SS subsection
+.sp
+.PP
+End.
diff --git a/regress/man/blank/line.out_ascii b/regress/man/blank/line.out_ascii
new file mode 100644
index 00000000..2aa6fa6e
--- /dev/null
+++ b/regress/man/blank/line.out_ascii
@@ -0,0 +1,81 @@
+BLANK-LINE(1) General Commands Manual BLANK-LINE(1)
+
+
+
+NNAAMMEE
+ blank-line - handling of blank lines
+
+DDEESSCCRRIIPPTTIIOONN
+ Single br:
+ Single PP:
+
+ Single sp:
+
+ Single blank:
+
+ Double br:
+ br PP:
+
+ PP br:
+
+ Double PP:
+
+ br sp:
+
+ sp br:
+
+ PP sp:
+
+ PP sp 2v:
+
+ sp PP:
+
+
+ Double sp:
+
+
+ br blank:
+
+ blank br:
+
+ PP blank:
+
+ blank PP:
+
+
+ sp blank:
+
+
+ blank sp:
+
+
+ Double blank:
+
+
+ RS sp 2v:
+
+
+ RE sp 2v:
+
+
+ IP sp 2v:
+
+ tag
+
+
+ TP sp 2v:
+
+ tag
+
+
+ SH sp 2v:
+
+CCUUSSTTOOMM
+ SS sp PP:
+
+ ssuubbsseeccttiioonn
+ End.
+
+
+
+OpenBSD July 14, 2012 BLANK-LINE(1)
diff --git a/regress/man/blank/line.out_lint b/regress/man/blank/line.out_lint
new file mode 100644
index 00000000..8480cfc2
--- /dev/null
+++ b/regress/man/blank/line.out_lint
@@ -0,0 +1,4 @@
+mandoc: line.in:5:2: WARNING: skipping paragraph macro: sp after SH
+mandoc: line.in:25:2: WARNING: skipping paragraph macro: PP empty
+mandoc: line.in:81:2: WARNING: skipping paragraph macro: sp after SH
+mandoc: line.in:84:2: WARNING: skipping paragraph macro: sp after SS