summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-07 15:03:25 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-07 15:03:25 +0000
commite9c98b01dbf4aab839369afcc72089954c853f1f (patch)
treec14c7271b17908699ec0c82d6ac4398b7f72574f /regress/usr.bin/mandoc
parent32baf6d18fa97c115e0b0452562e44f90affde44 (diff)
no need to skip content before first section header
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.in6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii11
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sh/before.out_lint2
4 files changed, 20 insertions, 5 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/Makefile b/regress/usr.bin/mandoc/mdoc/Sh/Makefile
index f05a74e42de..df98590a6f5 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Sh/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2014/07/02 08:03:57 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2014/07/07 15:03:24 schwarze Exp $
REGRESS_TARGETS = before first emptyNAME badNAME order
LINT_TARGETS = before first emptyNAME badNAME order
-SKIP_GROFF = before first
-SKIP_ASCII = before first
+SKIP_GROFF = first
+SKIP_ASCII = first
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/before.in b/regress/usr.bin/mandoc/mdoc/Sh/before.in
index 45b09905b5d..95b750cc585 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/before.in
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.in
@@ -1,7 +1,11 @@
-.Dd June 20, 2014
+.Dd July 7, 2014
.Dt SH-BEFORE 1
.Os OpenBSD
+Can
+.Xr mandoc 1
+on
.Ox
+handle this?
.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
new file mode 100644
index 00000000000..71f35f20095
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii
@@ -0,0 +1,11 @@
+SH-BEFORE(1) OpenBSD Reference Manual SH-BEFORE(1)
+
+Can mandoc(1) on OpenBSD handle this?
+
+NNAAMMEE
+ SShh--bbeeffoorree - content before the first section header
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+
+OpenBSD July 7, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/before.out_lint b/regress/usr.bin/mandoc/mdoc/Sh/before.out_lint
index d79895148a0..314acb29068 100644
--- a/regress/usr.bin/mandoc/mdoc/Sh/before.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Sh/before.out_lint
@@ -1 +1 @@
-mandoc: before.in:4:2: WARNING: content before first section header: Ox
+mandoc: before.in:4:1: WARNING: content before first section header: text