From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/mdoc/Pp/Makefile | 6 ++++++ regress/mdoc/Pp/arg.in | 14 ++++++++++++++ regress/mdoc/Pp/arg.out_ascii | 14 ++++++++++++++ regress/mdoc/Pp/arg.out_lint | 3 +++ 4 files changed, 37 insertions(+) create mode 100644 regress/mdoc/Pp/Makefile create mode 100644 regress/mdoc/Pp/arg.in create mode 100644 regress/mdoc/Pp/arg.out_ascii create mode 100644 regress/mdoc/Pp/arg.out_lint (limited to 'regress/mdoc/Pp') 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 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 -- cgit v1.2.3-56-ge451