diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Pp | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/mdoc/Pp')
-rw-r--r-- | regress/mdoc/Pp/Makefile | 6 | ||||
-rw-r--r-- | regress/mdoc/Pp/arg.in | 14 | ||||
-rw-r--r-- | regress/mdoc/Pp/arg.out_ascii | 14 | ||||
-rw-r--r-- | regress/mdoc/Pp/arg.out_lint | 3 |
4 files changed, 37 insertions, 0 deletions
diff --git a/regress/mdoc/Pp/Makefile b/regress/mdoc/Pp/Makefile new file mode 100644 index 00000000..04e1bc3b --- /dev/null +++ b/regress/mdoc/Pp/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2015/02/04 19:11:17 schwarze Exp $ + +REGRESS_TARGETS = arg +LINT_TARGETS = arg + +.include <bsd.regress.mk> diff --git a/regress/mdoc/Pp/arg.in b/regress/mdoc/Pp/arg.in new file mode 100644 index 00000000..563a4e98 --- /dev/null +++ b/regress/mdoc/Pp/arg.in @@ -0,0 +1,14 @@ +.Dd February 4, 2015 +.Dt PP-ARG 1 +.Os OpenBSD +.Sh NAME +.Nm Pp-arg +.Nd paragraph macro with arguments +.Sh DESCRIPTION +line 1 +.Pp drop this +line 2 +.br drop this +line 3 +.sp 1v drop this +line 4 diff --git a/regress/mdoc/Pp/arg.out_ascii b/regress/mdoc/Pp/arg.out_ascii new file mode 100644 index 00000000..543772f8 --- /dev/null +++ b/regress/mdoc/Pp/arg.out_ascii @@ -0,0 +1,14 @@ +PP-ARG(1) General Commands Manual PP-ARG(1) + +NNAAMMEE + PPpp--aarrgg - paragraph macro with arguments + +DDEESSCCRRIIPPTTIIOONN + line 1 + + line 2 + line 3 + + line 4 + +OpenBSD February 4, 2015 OpenBSD diff --git a/regress/mdoc/Pp/arg.out_lint b/regress/mdoc/Pp/arg.out_lint new file mode 100644 index 00000000..2e0a2f63 --- /dev/null +++ b/regress/mdoc/Pp/arg.out_lint @@ -0,0 +1,3 @@ +mandoc: arg.in:9:2: ERROR: skipping all arguments: Pp drop +mandoc: arg.in:11:2: ERROR: skipping all arguments: br drop +mandoc: arg.in:13:8: ERROR: skipping excess arguments: sp ... drop |