diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-08-14 02:00:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-08-14 02:00:54 +0000 |
commit | 69e70a7eb8d2737c60db8637186c28d6e5a2e248 (patch) | |
tree | 30a962f5b3fe46d47040523823d3e690798f0c14 /regress/usr.bin/mandoc/mdoc/Sh | |
parent | bf65f3f5e3d3459da3c4c9318487d2117c031786 (diff) |
new regression tests collected during recent work
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Sh')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Sh/Makefile | 8 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Sh/subbefore.in | 14 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii | 12 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_lint | 1 |
4 files changed, 31 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Sh/Makefile b/regress/usr.bin/mandoc/mdoc/Sh/Makefile index df98590a6f5..72e987e4926 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.3 2014/07/07 15:03:24 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/08/14 02:00:53 schwarze Exp $ -REGRESS_TARGETS = before first emptyNAME badNAME order -LINT_TARGETS = before first emptyNAME badNAME order +REGRESS_TARGETS = before subbefore first emptyNAME badNAME order +LINT_TARGETS = before subbefore first emptyNAME badNAME order -SKIP_GROFF = first +SKIP_GROFF = subbefore first SKIP_ASCII = first .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in new file mode 100644 index 00000000000..ac800e134d6 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.in @@ -0,0 +1,14 @@ +.Dd July 30, 2014 +.Dt SH-SUBBEFORE 1 +.Os OpenBSD +.Ss Subsection +Can +.Xr mandoc 1 +on +.Ox +handle this? +.Sh NAME +.Nm Sh-subbefore +.Nd subsection before the first section header +.Sh DESCRIPTION +some text diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii new file mode 100644 index 00000000000..e50aff19550 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_ascii @@ -0,0 +1,12 @@ +SH-SUBBEFORE(1) OpenBSD Reference Manual SH-SUBBEFORE(1) + + SSuubbsseeccttiioonn + Can mandoc(1) on OpenBSD handle this? + +NNAAMMEE + SShh--ssuubbbbeeffoorree - subsection before the first section header + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 30, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_lint b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_lint new file mode 100644 index 00000000000..fd497d255c8 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sh/subbefore.out_lint @@ -0,0 +1 @@ +mandoc: subbefore.in:4:2: WARNING: content before first section header: Ss |