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/Pa/Makefile | 7 +++++++ regress/mdoc/Pa/font.in | 10 ++++++++++ regress/mdoc/Pa/font.out_ascii | 9 +++++++++ regress/mdoc/Pa/punct.in | 39 +++++++++++++++++++++++++++++++++++++++ regress/mdoc/Pa/punct.out_ascii | 11 +++++++++++ 5 files changed, 76 insertions(+) create mode 100644 regress/mdoc/Pa/Makefile create mode 100644 regress/mdoc/Pa/font.in create mode 100644 regress/mdoc/Pa/font.out_ascii create mode 100644 regress/mdoc/Pa/punct.in create mode 100644 regress/mdoc/Pa/punct.out_ascii (limited to 'regress/mdoc/Pa') diff --git a/regress/mdoc/Pa/Makefile b/regress/mdoc/Pa/Makefile new file mode 100644 index 00000000..5f939fd3 --- /dev/null +++ b/regress/mdoc/Pa/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.4 2014/08/21 12:56:24 schwarze Exp $ + +REGRESS_TARGETS = font punct + +# XXX The FILES target doesn't currently work. + +.include diff --git a/regress/mdoc/Pa/font.in b/regress/mdoc/Pa/font.in new file mode 100644 index 00000000..ce23f772 --- /dev/null +++ b/regress/mdoc/Pa/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt PA-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Pa-font +.Nd changing fonts inside the path macro +.Sh DESCRIPTION +normal text +.Pa emphasis\\fBbold\\fPback +trailing text diff --git a/regress/mdoc/Pa/font.out_ascii b/regress/mdoc/Pa/font.out_ascii new file mode 100644 index 00000000..5cf318ce --- /dev/null +++ b/regress/mdoc/Pa/font.out_ascii @@ -0,0 +1,9 @@ +PA-FONT(1) General Commands Manual PA-FONT(1) + +NNAAMMEE + PPaa--ffoonntt - changing fonts inside the path macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Pa/punct.in b/regress/mdoc/Pa/punct.in new file mode 100644 index 00000000..ea6c81ff --- /dev/null +++ b/regress/mdoc/Pa/punct.in @@ -0,0 +1,39 @@ +.Dd August 21, 2014 +.Dt PA-PUNCT 1 +.Os OpenBSD +.Sh NAME +.Nm Pa-punct +.Nd punctuation handling by the Pa macro +.Sh DESCRIPTION +closing punctuation +.Pa a ) +only one +.Pa ) +only more than one +.Pa ) ) +middle +.Pa a ) z +start +.Pa ) z +dot +.Pa . z +comma +.Pa , z +semicolon +.Pa ; z +colon +.Pa : z +quest +.Pa ? z +excl +.Pa ! z +paren +.Pa ) z +bracket +.Pa ] z +bar +.Pa | m +op paren +.Pa ( a +op bracket +.Pa [ a diff --git a/regress/mdoc/Pa/punct.out_ascii b/regress/mdoc/Pa/punct.out_ascii new file mode 100644 index 00000000..65b247e9 --- /dev/null +++ b/regress/mdoc/Pa/punct.out_ascii @@ -0,0 +1,11 @@ +PA-PUNCT(1) General Commands Manual PA-PUNCT(1) + +NNAAMMEE + PPaa--ppuunncctt - punctuation handling by the Pa macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation _a) only one _~) only more than one _~)) middle _a) _z + start _~) _z dot _~. _z comma _~, _z semicolon _~; _z colon _~: _z quest _~? _z excl + _~! _z paren _~) _z bracket _~] _z bar | _m op paren (_a op bracket [_a + +OpenBSD August 21, 2014 OpenBSD -- cgit