summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Lk
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Lk
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/mdoc/Lk')
-rw-r--r--regress/mdoc/Lk/Makefile6
-rw-r--r--regress/mdoc/Lk/font.in10
-rw-r--r--regress/mdoc/Lk/font.out_ascii9
-rw-r--r--regress/mdoc/Lk/link.in16
-rw-r--r--regress/mdoc/Lk/link.out_ascii16
-rw-r--r--regress/mdoc/Lk/noarg.in14
-rw-r--r--regress/mdoc/Lk/noarg.out_ascii10
-rw-r--r--regress/mdoc/Lk/noarg.out_lint1
8 files changed, 82 insertions, 0 deletions
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 <bsd.regress.mk>
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