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/Dv/Makefile | 6 ++++++ regress/mdoc/Dv/font.in | 13 +++++++++++++ regress/mdoc/Dv/font.out_ascii | 11 +++++++++++ regress/mdoc/Dv/noarg.in | 12 ++++++++++++ regress/mdoc/Dv/noarg.out_ascii | 9 +++++++++ regress/mdoc/Dv/noarg.out_lint | 1 + 6 files changed, 52 insertions(+) create mode 100644 regress/mdoc/Dv/Makefile create mode 100644 regress/mdoc/Dv/font.in create mode 100644 regress/mdoc/Dv/font.out_ascii create mode 100644 regress/mdoc/Dv/noarg.in create mode 100644 regress/mdoc/Dv/noarg.out_ascii create mode 100644 regress/mdoc/Dv/noarg.out_lint (limited to 'regress/mdoc/Dv') diff --git a/regress/mdoc/Dv/Makefile b/regress/mdoc/Dv/Makefile new file mode 100644 index 00000000..cfe3ad0b --- /dev/null +++ b/regress/mdoc/Dv/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg + +.include diff --git a/regress/mdoc/Dv/font.in b/regress/mdoc/Dv/font.in new file mode 100644 index 00000000..8e3c5bcb --- /dev/null +++ b/regress/mdoc/Dv/font.in @@ -0,0 +1,13 @@ +.Dd October 21, 2011 +.Dt DV-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Dv-font +.Nd formatting of defined variables +.Sh DESCRIPTION +The +.Dv BUFSIZ +macro. +.Pp +And with +.Dv some \\fIembedded\\fP string . diff --git a/regress/mdoc/Dv/font.out_ascii b/regress/mdoc/Dv/font.out_ascii new file mode 100644 index 00000000..88f0760d --- /dev/null +++ b/regress/mdoc/Dv/font.out_ascii @@ -0,0 +1,11 @@ +DV-FONT(1) General Commands Manual DV-FONT(1) + +NNAAMMEE + DDvv--ffoonntt - formatting of defined variables + +DDEESSCCRRIIPPTTIIOONN + The BUFSIZ macro. + + And with some _e_m_b_e_d_d_e_d string. + +OpenBSD October 21, 2011 OpenBSD diff --git a/regress/mdoc/Dv/noarg.in b/regress/mdoc/Dv/noarg.in new file mode 100644 index 00000000..86155b3a --- /dev/null +++ b/regress/mdoc/Dv/noarg.in @@ -0,0 +1,12 @@ +.Dd July 2, 2014 +.Dt DV-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Dv-noarg +.Nd defined variable macro without an argument +.Sh DESCRIPTION +with variable: +.Dv NULL +no variable: +.Dv +end of test document diff --git a/regress/mdoc/Dv/noarg.out_ascii b/regress/mdoc/Dv/noarg.out_ascii new file mode 100644 index 00000000..b40d6635 --- /dev/null +++ b/regress/mdoc/Dv/noarg.out_ascii @@ -0,0 +1,9 @@ +DV-NOARG(1) General Commands Manual DV-NOARG(1) + +NNAAMMEE + DDvv--nnooaarrgg - defined variable macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with variable: NULL no variable: end of test document + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/mdoc/Dv/noarg.out_lint b/regress/mdoc/Dv/noarg.out_lint new file mode 100644 index 00000000..cac45101 --- /dev/null +++ b/regress/mdoc/Dv/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Dv -- cgit v1.2.3-56-ge451