From e9c98b01dbf4aab839369afcc72089954c853f1f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 7 Jul 2014 15:03:25 +0000 Subject: no need to skip content before first section header --- regress/usr.bin/mandoc/mdoc/Sh/Makefile | 6 +++--- regress/usr.bin/mandoc/mdoc/Sh/before.in | 6 +++++- regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii | 11 +++++++++++ regress/usr.bin/mandoc/mdoc/Sh/before.out_lint | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 regress/usr.bin/mandoc/mdoc/Sh/before.out_ascii (limited to 'regress/usr.bin/mandoc/mdoc') 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 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 -- cgit v1.2.3