summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-28 12:37:52 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-28 12:37:52 +0000
commitb6b6ccb77c71678bfa613d854a2a045f407829cf (patch)
treef54b3128ade746bbddeb514f41fa46b074ff6e38
parentf95b08897e1118e98b3e42439089651f0b3df002 (diff)
Do not test .Xr here. It is not what this directory should focus on,
and it is causing too much trouble in -portable.
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.out_markdown10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/subbefore.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii2
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_markdown8
6 files changed, 20 insertions, 28 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/before.in b/regress/usr.bin/mandoc/mdoc/Sh/before.in
index 20e3b13c5ac..82f8bdb499b 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/before.in
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.in
@@ -1,12 +1,10 @@
-.\" $OpenBSD: before.in,v 1.4 2017/07/20 16:33:13 schwarze Exp $
-.Dd $Mdocdate: July 20 2017 $
+.\" $OpenBSD: before.in,v 1.5 2017/07/28 12:37:51 schwarze Exp $
+.Dd $Mdocdate: July 28 2017 $
.Dt SH-BEFORE 1
.Os
-Can
-.Xr man 1
-on
-.Ox
-handle this?
+Plain text and
+.Em a macro
+before the first section header.
.Sh NAME
.Nm Sh-before
.Nd content before the first section header
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii b/regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii
index 3fb8f8c83c3..5447dfeaa76 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii
@@ -1,6 +1,6 @@
SH-BEFORE(1) General Commands Manual SH-BEFORE(1)
-Can man(1) on OpenBSD handle this?
+Plain text and _a _m_a_c_r_o before the first section header.
NNAAMMEE
SShh--bbeeffoorree - content before the first section header
@@ -8,4 +8,4 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
some text
-OpenBSD July 20, 2017 OpenBSD
+OpenBSD July 28, 2017 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/before.out_markdown b/regress/usr.bin/mandoc/mdoc/Sh/before.out_markdown
index 835fb40b587..069798b0260 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/before.out_markdown
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.out_markdown
@@ -1,10 +1,8 @@
SH-BEFORE(1) - General Commands Manual
-Can
-man(1)
-on
-OpenBSD
-handle this?
+Plain text and
+*a macro*
+before the first section header.
# NAME
@@ -14,4 +12,4 @@ handle this?
some text
-OpenBSD - July 20, 2017
+OpenBSD - July 28, 2017
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in
index 412040217b9..84cf6e5420b 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in
+++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in
@@ -1,13 +1,11 @@
-.\" $OpenBSD: subbefore.in,v 1.3 2017/07/20 16:33:13 schwarze Exp $
-.Dd $Mdocdate: July 20 2017 $
+.\" $OpenBSD: subbefore.in,v 1.4 2017/07/28 12:37:51 schwarze Exp $
+.Dd $Mdocdate: July 28 2017 $
.Dt SH-SUBBEFORE 1
.Os
.Ss Subsection
-Can
-.Xr man 1
-on
-.Ox
-handle this?
+Plain text and
+.Em a macro
+before the first section header.
.Sh NAME
.Nm Sh-subbefore
.Nd subsection before the first section header
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii
index c36fc124d1a..5d299b77803 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii
@@ -1,7 +1,7 @@
SH-SUBBEFORE(1) General Commands Manual SH-SUBBEFORE(1)
SSuubbsseeccttiioonn
- Can man(1) on OpenBSD handle this?
+ Plain text and _a _m_a_c_r_o before the first section header.
NNAAMMEE
SShh--ssuubbbbeeffoorree - subsection before the first section header
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_markdown b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_markdown
index c01172b3c1d..c43eb83bda9 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_markdown
+++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_markdown
@@ -2,11 +2,9 @@ SH-SUBBEFORE(1) - General Commands Manual
## Subsection
-Can
-man(1)
-on
-OpenBSD
-handle this?
+Plain text and
+*a macro*
+before the first section header.
# NAME