summaryrefslogtreecommitdiffstats
path: root/regress/man/SS
diff options
context:
space:
mode:
Diffstat (limited to 'regress/man/SS')
-rw-r--r--regress/man/SS/Makefile16
-rw-r--r--regress/man/SS/broken.in6
-rw-r--r--regress/man/SS/broken.out_ascii13
-rw-r--r--regress/man/SS/broken.out_lint1
-rw-r--r--regress/man/SS/broken_eline.in7
-rw-r--r--regress/man/SS/broken_eline.out_ascii13
-rw-r--r--regress/man/SS/broken_eline.out_lint2
-rw-r--r--regress/man/SS/longarg.in9
-rw-r--r--regress/man/SS/longarg.out_ascii17
-rw-r--r--regress/man/SS/noarg.in42
-rw-r--r--regress/man/SS/noarg.out_ascii32
-rw-r--r--regress/man/SS/noarg.out_lint13
12 files changed, 171 insertions, 0 deletions
diff --git a/regress/man/SS/Makefile b/regress/man/SS/Makefile
new file mode 100644
index 00000000..e76a4ee9
--- /dev/null
+++ b/regress/man/SS/Makefile
@@ -0,0 +1,16 @@
+# $OpenBSD: Makefile,v 1.2 2015/04/04 18:52:12 schwarze Exp $
+
+REGRESS_TARGETS = broken broken_eline longarg noarg
+LINT_TARGETS = broken broken_eline noarg
+
+# groff-1.22.3 defects:
+# - .SS without args just before EOF causes two additional blank lines.
+# - Empty .SS heads cause additional vertical spacing.
+# - If .TP or .IP breaks .SS, the tag becomes bold.
+# - If .HP breaks .SS, a line is broken after the next input line.
+# - If .RS/RE/nf/fi breaks .SS, the next input line becomes bold.
+# - .UR does not break .SS.
+
+SKIP_GROFF = broken broken_eline noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/man/SS/broken.in b/regress/man/SS/broken.in
new file mode 100644
index 00000000..784d2c46
--- /dev/null
+++ b/regress/man/SS/broken.in
@@ -0,0 +1,6 @@
+.TH SS-BROKEN 1 "July 30, 2014" OpenBSD
+.SH NAME
+SS-broken \- section header line scope broken by end of file
+.SH DESCRIPTION
+some text
+.SS
diff --git a/regress/man/SS/broken.out_ascii b/regress/man/SS/broken.out_ascii
new file mode 100644
index 00000000..948c0a93
--- /dev/null
+++ b/regress/man/SS/broken.out_ascii
@@ -0,0 +1,13 @@
+SS-BROKEN(1) General Commands Manual SS-BROKEN(1)
+
+
+
+NNAAMMEE
+ SS-broken - section header line scope broken by end of file
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+
+
+
+OpenBSD July 30, 2014 SS-BROKEN(1)
diff --git a/regress/man/SS/broken.out_lint b/regress/man/SS/broken.out_lint
new file mode 100644
index 00000000..b3f7aea0
--- /dev/null
+++ b/regress/man/SS/broken.out_lint
@@ -0,0 +1 @@
+mandoc: broken.in:6:2: WARNING: line scope broken: EOF breaks SS
diff --git a/regress/man/SS/broken_eline.in b/regress/man/SS/broken_eline.in
new file mode 100644
index 00000000..d5ba6324
--- /dev/null
+++ b/regress/man/SS/broken_eline.in
@@ -0,0 +1,7 @@
+.TH SS-BROKEN_ELINE 1 "July 30, 2014" OpenBSD
+.SH NAME
+SS-broken_eline \- subsection and element line scope broken by eof
+.SH DESCRIPTION
+some text
+.SS
+.B
diff --git a/regress/man/SS/broken_eline.out_ascii b/regress/man/SS/broken_eline.out_ascii
new file mode 100644
index 00000000..79528f45
--- /dev/null
+++ b/regress/man/SS/broken_eline.out_ascii
@@ -0,0 +1,13 @@
+SS-BROKEN_ELINE(1) General Commands Manual SS-BROKEN_ELINE(1)
+
+
+
+NNAAMMEE
+ SS-broken_eline - subsection and element line scope broken by eof
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+
+
+
+OpenBSD July 30, 2014 SS-BROKEN_ELINE(1)
diff --git a/regress/man/SS/broken_eline.out_lint b/regress/man/SS/broken_eline.out_lint
new file mode 100644
index 00000000..1128b738
--- /dev/null
+++ b/regress/man/SS/broken_eline.out_lint
@@ -0,0 +1,2 @@
+mandoc: broken_eline.in:7:2: WARNING: line scope broken: EOF breaks B
+mandoc: broken_eline.in:6:2: WARNING: line scope broken: EOF breaks SS
diff --git a/regress/man/SS/longarg.in b/regress/man/SS/longarg.in
new file mode 100644
index 00000000..ba218e4d
--- /dev/null
+++ b/regress/man/SS/longarg.in
@@ -0,0 +1,9 @@
+.TH SS-LONGARG 1 "April 4, 2015" OpenBSD
+.SH NAME
+SS-longarg \- long subsection header lines
+.SH
+DESCRIPTION
+initial text
+.SS
+This subsection has a ridiculously long title which won't even fit on the line.
+subsection text
diff --git a/regress/man/SS/longarg.out_ascii b/regress/man/SS/longarg.out_ascii
new file mode 100644
index 00000000..0f4a2cb6
--- /dev/null
+++ b/regress/man/SS/longarg.out_ascii
@@ -0,0 +1,17 @@
+SS-LONGARG(1) General Commands Manual SS-LONGARG(1)
+
+
+
+NNAAMMEE
+ SS-longarg - long subsection header lines
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text
+
+ TThhiiss ssuubbsseeccttiioonn hhaass aa rriiddiiccuulloouussllyy lloonngg ttiittllee wwhhiicchh wwoonn''tt eevveenn ffiitt oonn tthhee
+ lliinnee..
+ subsection text
+
+
+
+OpenBSD April 4, 2015 SS-LONGARG(1)
diff --git a/regress/man/SS/noarg.in b/regress/man/SS/noarg.in
new file mode 100644
index 00000000..85470b01
--- /dev/null
+++ b/regress/man/SS/noarg.in
@@ -0,0 +1,42 @@
+.TH SS-NOARG 1 "March 20, 2015" OpenBSD
+.SH NAME
+SS-noarg \- empty subsection header lines
+.SS
+.SH
+DESCRIPTION
+initial text
+.SS
+.SS Subsection
+subsection text
+.SS
+.TP 6n
+tag
+tagged list
+.SS
+.IP tag 6n
+indented list
+.SS
+.HP 6n
+This is a hanged paragraph.
+A bit more text is needed to see the effect.
+.SS
+.PP
+normal paragraph
+.SS
+.RS 6n
+indented paragraph
+.SS
+.RE
+after the end of the indented paragraph
+.SS
+.UR www.openbsd.org
+hyperlink
+.SS
+.UE
+after the end of the hyperlink
+.SS
+.nf
+no-fill mode
+.SS
+.fi
+back in fill mode
diff --git a/regress/man/SS/noarg.out_ascii b/regress/man/SS/noarg.out_ascii
new file mode 100644
index 00000000..60fd85ff
--- /dev/null
+++ b/regress/man/SS/noarg.out_ascii
@@ -0,0 +1,32 @@
+SS-NOARG(1) General Commands Manual SS-NOARG(1)
+
+
+
+NNAAMMEE
+ SS-noarg - empty subsection header lines
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text
+
+ SSuubbsseeccttiioonn
+ subsection text
+
+ tag tagged list
+
+ tag indented list
+
+ This is a hanged paragraph. A bit more text is needed to see the
+ effect.
+
+ normal paragraph
+ indented paragraph
+ after the end of the indented paragraph hyperlink <www.openbsd.org>
+ after the end of the hyperlink
+
+ no-fill mode
+
+ back in fill mode
+
+
+
+OpenBSD March 20, 2015 SS-NOARG(1)
diff --git a/regress/man/SS/noarg.out_lint b/regress/man/SS/noarg.out_lint
new file mode 100644
index 00000000..17151792
--- /dev/null
+++ b/regress/man/SS/noarg.out_lint
@@ -0,0 +1,13 @@
+mandoc: noarg.in:4:2: WARNING: line scope broken: SH breaks SS
+mandoc: noarg.in:8:2: WARNING: line scope broken: SS breaks SS
+mandoc: noarg.in:11:2: WARNING: line scope broken: TP breaks SS
+mandoc: noarg.in:15:2: WARNING: line scope broken: IP breaks SS
+mandoc: noarg.in:18:2: WARNING: line scope broken: HP breaks SS
+mandoc: noarg.in:22:2: WARNING: line scope broken: PP breaks SS
+mandoc: noarg.in:25:2: WARNING: line scope broken: RS breaks SS
+mandoc: noarg.in:28:2: WARNING: line scope broken: RE breaks SS
+mandoc: noarg.in:29:2: ERROR: skipping end of block that is not open: RE
+mandoc: noarg.in:31:2: WARNING: line scope broken: UR breaks SS
+mandoc: noarg.in:34:2: WARNING: line scope broken: UE breaks SS
+mandoc: noarg.in:35:2: ERROR: skipping end of block that is not open: UE
+mandoc: noarg.in:41:2: WARNING: fill mode already enabled, skipping: fi