diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Sx | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-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/Sx')
-rw-r--r-- | regress/mdoc/Sx/Makefile | 6 | ||||
-rw-r--r-- | regress/mdoc/Sx/font.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Sx/font.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Sx/noarg.in | 12 | ||||
-rw-r--r-- | regress/mdoc/Sx/noarg.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Sx/noarg.out_lint | 1 |
6 files changed, 47 insertions, 0 deletions
diff --git a/regress/mdoc/Sx/Makefile b/regress/mdoc/Sx/Makefile new file mode 100644 index 00000000..1be2a84a --- /dev/null +++ b/regress/mdoc/Sx/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 <bsd.regress.mk> diff --git a/regress/mdoc/Sx/font.in b/regress/mdoc/Sx/font.in new file mode 100644 index 00000000..92d95014 --- /dev/null +++ b/regress/mdoc/Sx/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt SX-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Sx-font +.Nd changing fonts inside the cross reference macro +.Sh DESCRIPTION +normal text +.Sx emphasis\\fBbold\\fPback +trailing text diff --git a/regress/mdoc/Sx/font.out_ascii b/regress/mdoc/Sx/font.out_ascii new file mode 100644 index 00000000..a3906c38 --- /dev/null +++ b/regress/mdoc/Sx/font.out_ascii @@ -0,0 +1,9 @@ +SX-FONT(1) General Commands Manual SX-FONT(1) + +NNAAMMEE + SSxx--ffoonntt - changing fonts inside the cross reference 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/Sx/noarg.in b/regress/mdoc/Sx/noarg.in new file mode 100644 index 00000000..35c4a64e --- /dev/null +++ b/regress/mdoc/Sx/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt SX-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Sx-noarg +.Nd internal cross reference without a target +.Sh DESCRIPTION +with target: +.Sx DESCRIPTION +no target: +.Sx +end of test document diff --git a/regress/mdoc/Sx/noarg.out_ascii b/regress/mdoc/Sx/noarg.out_ascii new file mode 100644 index 00000000..343ab007 --- /dev/null +++ b/regress/mdoc/Sx/noarg.out_ascii @@ -0,0 +1,9 @@ +SX-NOARG(1) General Commands Manual SX-NOARG(1) + +NNAAMMEE + SSxx--nnooaarrgg - internal cross reference without a target + +DDEESSCCRRIIPPTTIIOONN + with target: _D_E_S_C_R_I_P_T_I_O_N no target: end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Sx/noarg.out_lint b/regress/mdoc/Sx/noarg.out_lint new file mode 100644 index 00000000..3bdfa389 --- /dev/null +++ b/regress/mdoc/Sx/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sx |