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/Lk/Makefile | 6 ++++++ regress/mdoc/Lk/font.in | 10 ++++++++++ regress/mdoc/Lk/font.out_ascii | 9 +++++++++ regress/mdoc/Lk/link.in | 16 ++++++++++++++++ regress/mdoc/Lk/link.out_ascii | 16 ++++++++++++++++ regress/mdoc/Lk/noarg.in | 14 ++++++++++++++ regress/mdoc/Lk/noarg.out_ascii | 10 ++++++++++ regress/mdoc/Lk/noarg.out_lint | 1 + 8 files changed, 82 insertions(+) create mode 100644 regress/mdoc/Lk/Makefile create mode 100644 regress/mdoc/Lk/font.in create mode 100644 regress/mdoc/Lk/font.out_ascii create mode 100644 regress/mdoc/Lk/link.in create mode 100644 regress/mdoc/Lk/link.out_ascii create mode 100644 regress/mdoc/Lk/noarg.in create mode 100644 regress/mdoc/Lk/noarg.out_ascii create mode 100644 regress/mdoc/Lk/noarg.out_lint (limited to 'regress/mdoc/Lk') diff --git a/regress/mdoc/Lk/Makefile b/regress/mdoc/Lk/Makefile new file mode 100644 index 00000000..d9cbbe95 --- /dev/null +++ b/regress/mdoc/Lk/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = link noarg font +LINT_TARGETS = noarg + +.include diff --git a/regress/mdoc/Lk/font.in b/regress/mdoc/Lk/font.in new file mode 100644 index 00000000..23af0554 --- /dev/null +++ b/regress/mdoc/Lk/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt LK-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Lk-font +.Nd changing the font inside the hyperlink macro +.Sh DESCRIPTION +normal text +.Lk http://www.\\fIopenbsd\\fP.org/ Open\\fBBSD\\fPweb +trailing text diff --git a/regress/mdoc/Lk/font.out_ascii b/regress/mdoc/Lk/font.out_ascii new file mode 100644 index 00000000..5c0425a1 --- /dev/null +++ b/regress/mdoc/Lk/font.out_ascii @@ -0,0 +1,9 @@ +LK-FONT(1) General Commands Manual LK-FONT(1) + +NNAAMMEE + LLkk--ffoonntt - changing the font inside the hyperlink macro + +DDEESSCCRRIIPPTTIIOONN + normal text _O_p_e_nBBSSDD_w_e_b_: hhttttpp::////wwwwww.._o_p_e_n_b_s_d..oorrgg// trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Lk/link.in b/regress/mdoc/Lk/link.in new file mode 100644 index 00000000..b5ea4901 --- /dev/null +++ b/regress/mdoc/Lk/link.in @@ -0,0 +1,16 @@ +.Dd August 8, 2010 +.Dt LK-LINK 1 +.Os OpenBSD +.Sh NAME +.Nm Lk-link +.Nd formatting of hyperlinks +.Sh DESCRIPTION +Here are some web sites of BSD operating systems: +.Lk http://www.freebsd.org/ FreeBSD +.Lk http://www.netbsd.org/ NetBSD +.Lk http://www.openbsd.org/ OpenBSD +.Sh SEE ALSO +Here are some web sites of BSD operating systems: +.Lk http://www.freebsd.org/ FreeBSD +.Lk http://www.netbsd.org/ NetBSD +.Lk http://www.openbsd.org/ OpenBSD diff --git a/regress/mdoc/Lk/link.out_ascii b/regress/mdoc/Lk/link.out_ascii new file mode 100644 index 00000000..90d736e0 --- /dev/null +++ b/regress/mdoc/Lk/link.out_ascii @@ -0,0 +1,16 @@ +LK-LINK(1) General Commands Manual LK-LINK(1) + +NNAAMMEE + LLkk--lliinnkk - formatting of hyperlinks + +DDEESSCCRRIIPPTTIIOONN + Here are some web sites of BSD operating systems: _F_r_e_e_B_S_D_: + hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D_: hhttttpp::////wwwwww..nneettbbssdd..oorrgg// _O_p_e_n_B_S_D_: + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// + +SSEEEE AALLSSOO + Here are some web sites of BSD operating systems: _F_r_e_e_B_S_D_: + hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D_: hhttttpp::////wwwwww..nneettbbssdd..oorrgg// _O_p_e_n_B_S_D_: + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// + +OpenBSD August 8, 2010 OpenBSD diff --git a/regress/mdoc/Lk/noarg.in b/regress/mdoc/Lk/noarg.in new file mode 100644 index 00000000..068c57f6 --- /dev/null +++ b/regress/mdoc/Lk/noarg.in @@ -0,0 +1,14 @@ +.Dd January 19, 2011 +.Dt LK-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Lk-noarg +.Nd hyperlink macro without arguments +.Sh DESCRIPTION +two arguments +.Lk http://mdocml.bsd.lv/ mandoc +one argument +.Lk http://www.openbsd.org/ +no argument +.Lk +end of test document diff --git a/regress/mdoc/Lk/noarg.out_ascii b/regress/mdoc/Lk/noarg.out_ascii new file mode 100644 index 00000000..8c201f3d --- /dev/null +++ b/regress/mdoc/Lk/noarg.out_ascii @@ -0,0 +1,10 @@ +LK-NOARG(1) General Commands Manual LK-NOARG(1) + +NNAAMMEE + LLkk--nnooaarrgg - hyperlink macro without arguments + +DDEESSCCRRIIPPTTIIOONN + two arguments _m_a_n_d_o_c_: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// no argument end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Lk/noarg.out_lint b/regress/mdoc/Lk/noarg.out_lint new file mode 100644 index 00000000..d5a3af14 --- /dev/null +++ b/regress/mdoc/Lk/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:13:2: WARNING: skipping empty macro: Lk -- cgit v1.2.3-56-ge451