From 4c0770c1ecd159a77561d8e0364385f4bb758650 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/Ms/Makefile | 6 ++++++ regress/mdoc/Ms/font.in | 10 ++++++++++ regress/mdoc/Ms/font.out_ascii | 9 +++++++++ regress/mdoc/Ms/noarg.in | 12 ++++++++++++ regress/mdoc/Ms/noarg.out_ascii | 9 +++++++++ regress/mdoc/Ms/noarg.out_lint | 1 + 6 files changed, 47 insertions(+) create mode 100644 regress/mdoc/Ms/Makefile create mode 100644 regress/mdoc/Ms/font.in create mode 100644 regress/mdoc/Ms/font.out_ascii create mode 100644 regress/mdoc/Ms/noarg.in create mode 100644 regress/mdoc/Ms/noarg.out_ascii create mode 100644 regress/mdoc/Ms/noarg.out_lint (limited to 'regress/mdoc/Ms') diff --git a/regress/mdoc/Ms/Makefile b/regress/mdoc/Ms/Makefile new file mode 100644 index 00000000..1be2a84a --- /dev/null +++ b/regress/mdoc/Ms/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/Ms/font.in b/regress/mdoc/Ms/font.in new file mode 100644 index 00000000..dc841740 --- /dev/null +++ b/regress/mdoc/Ms/font.in @@ -0,0 +1,10 @@ +.Dd November 20, 2014 +.Dt MS-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Ms-font +.Nd changing fonts inside the mathematical symbol macro +.Sh DESCRIPTION +normal text +.Ms bold\\fIemphasis\\fPback | after : punctuation +trailing text diff --git a/regress/mdoc/Ms/font.out_ascii b/regress/mdoc/Ms/font.out_ascii new file mode 100644 index 00000000..280aa407 --- /dev/null +++ b/regress/mdoc/Ms/font.out_ascii @@ -0,0 +1,9 @@ +MS-FONT(1) General Commands Manual MS-FONT(1) + +NNAAMMEE + MMss--ffoonntt - changing fonts inside the mathematical symbol macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk | aafftteerr: ppuunnccttuuaattiioonn trailing text + +OpenBSD November 20, 2014 OpenBSD diff --git a/regress/mdoc/Ms/noarg.in b/regress/mdoc/Ms/noarg.in new file mode 100644 index 00000000..ae283587 --- /dev/null +++ b/regress/mdoc/Ms/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt MS-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Ms-noarg +.Nd mathematical symbol without an argument +.Sh DESCRIPTION +with command: +.Ms alpha +no command: +.Ms +end of test document diff --git a/regress/mdoc/Ms/noarg.out_ascii b/regress/mdoc/Ms/noarg.out_ascii new file mode 100644 index 00000000..fa90d0f3 --- /dev/null +++ b/regress/mdoc/Ms/noarg.out_ascii @@ -0,0 +1,9 @@ +MS-NOARG(1) General Commands Manual MS-NOARG(1) + +NNAAMMEE + MMss--nnooaarrgg - mathematical symbol without an argument + +DDEESSCCRRIIPPTTIIOONN + with command: aallpphhaa no command: end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Ms/noarg.out_lint b/regress/mdoc/Ms/noarg.out_lint new file mode 100644 index 00000000..265fb3e6 --- /dev/null +++ b/regress/mdoc/Ms/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ms -- cgit