summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Sx
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Sx')
-rw-r--r--regress/mdoc/Sx/Makefile6
-rw-r--r--regress/mdoc/Sx/font.in10
-rw-r--r--regress/mdoc/Sx/font.out_ascii9
-rw-r--r--regress/mdoc/Sx/noarg.in12
-rw-r--r--regress/mdoc/Sx/noarg.out_ascii9
-rw-r--r--regress/mdoc/Sx/noarg.out_lint1
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