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/Er/Makefile | 6 ++++++ regress/mdoc/Er/font.in | 10 ++++++++++ regress/mdoc/Er/font.out_ascii | 9 +++++++++ regress/mdoc/Er/noarg.in | 12 ++++++++++++ regress/mdoc/Er/noarg.out_ascii | 9 +++++++++ regress/mdoc/Er/noarg.out_lint | 1 + 6 files changed, 47 insertions(+) create mode 100644 regress/mdoc/Er/Makefile create mode 100644 regress/mdoc/Er/font.in create mode 100644 regress/mdoc/Er/font.out_ascii create mode 100644 regress/mdoc/Er/noarg.in create mode 100644 regress/mdoc/Er/noarg.out_ascii create mode 100644 regress/mdoc/Er/noarg.out_lint (limited to 'regress/mdoc/Er') diff --git a/regress/mdoc/Er/Makefile b/regress/mdoc/Er/Makefile new file mode 100644 index 00000000..1be2a84a --- /dev/null +++ b/regress/mdoc/Er/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/regress/mdoc/Er/font.in b/regress/mdoc/Er/font.in new file mode 100644 index 00000000..4e3d337b --- /dev/null +++ b/regress/mdoc/Er/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt ER-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Er-font +.Nd changing fonts inside the error code macro +.Sh DESCRIPTION +normal text +.Er EFONT\\fIemphasis\\fPEBACK +trailing text diff --git a/regress/mdoc/Er/font.out_ascii b/regress/mdoc/Er/font.out_ascii new file mode 100644 index 00000000..cfe462bd --- /dev/null +++ b/regress/mdoc/Er/font.out_ascii @@ -0,0 +1,9 @@ +ER-FONT(1) General Commands Manual ER-FONT(1) + +NNAAMMEE + EErr--ffoonntt - changing fonts inside the error code macro + +DDEESSCCRRIIPPTTIIOONN + normal text EFONT_e_m_p_h_a_s_i_sEBACK trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Er/noarg.in b/regress/mdoc/Er/noarg.in new file mode 100644 index 00000000..96aa2cee --- /dev/null +++ b/regress/mdoc/Er/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt ER-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Er-noarg +.Nd error constant macro without an argument +.Sh DESCRIPTION +with error: +.Er ENOENT +no error: +.Er +end of test document diff --git a/regress/mdoc/Er/noarg.out_ascii b/regress/mdoc/Er/noarg.out_ascii new file mode 100644 index 00000000..83f45f07 --- /dev/null +++ b/regress/mdoc/Er/noarg.out_ascii @@ -0,0 +1,9 @@ +ER-NOARG(1) General Commands Manual ER-NOARG(1) + +NNAAMMEE + EErr--nnooaarrgg - error constant macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with error: ENOENT no error: end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Er/noarg.out_lint b/regress/mdoc/Er/noarg.out_lint new file mode 100644 index 00000000..b8594294 --- /dev/null +++ b/regress/mdoc/Er/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Er -- cgit v1.2.3-56-ge451