summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Tn
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Tn')
-rw-r--r--regress/mdoc/Tn/Makefile6
-rw-r--r--regress/mdoc/Tn/font.in10
-rw-r--r--regress/mdoc/Tn/font.out_ascii9
-rw-r--r--regress/mdoc/Tn/noarg.in12
-rw-r--r--regress/mdoc/Tn/noarg.out_ascii9
-rw-r--r--regress/mdoc/Tn/noarg.out_lint1
6 files changed, 47 insertions, 0 deletions
diff --git a/regress/mdoc/Tn/Makefile b/regress/mdoc/Tn/Makefile
new file mode 100644
index 00000000..1be2a84a
--- /dev/null
+++ b/regress/mdoc/Tn/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/Tn/font.in b/regress/mdoc/Tn/font.in
new file mode 100644
index 00000000..c854c6de
--- /dev/null
+++ b/regress/mdoc/Tn/font.in
@@ -0,0 +1,10 @@
+.Dd July 9, 2012
+.Dt TN-FONT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Tn-font
+.Nd changing fonts inside the trade name macro
+.Sh DESCRIPTION
+normal text
+.Tn literal\\fIemphasis\\fPback
+trailing text
diff --git a/regress/mdoc/Tn/font.out_ascii b/regress/mdoc/Tn/font.out_ascii
new file mode 100644
index 00000000..60a99b3e
--- /dev/null
+++ b/regress/mdoc/Tn/font.out_ascii
@@ -0,0 +1,9 @@
+TN-FONT(1) General Commands Manual TN-FONT(1)
+
+NNAAMMEE
+ TTnn--ffoonntt - changing fonts inside the trade name macro
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text literal_e_m_p_h_a_s_i_sback trailing text
+
+OpenBSD July 9, 2012 OpenBSD
diff --git a/regress/mdoc/Tn/noarg.in b/regress/mdoc/Tn/noarg.in
new file mode 100644
index 00000000..1d18a95b
--- /dev/null
+++ b/regress/mdoc/Tn/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt TN-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm Tn-noarg
+.Nd trade name macro without argument
+.Sh DESCRIPTION
+with argument
+.Tn IBM
+no argument
+.Tn
+end of test document
diff --git a/regress/mdoc/Tn/noarg.out_ascii b/regress/mdoc/Tn/noarg.out_ascii
new file mode 100644
index 00000000..1333a900
--- /dev/null
+++ b/regress/mdoc/Tn/noarg.out_ascii
@@ -0,0 +1,9 @@
+TN-NOARG(1) General Commands Manual TN-NOARG(1)
+
+NNAAMMEE
+ TTnn--nnooaarrgg - trade name macro without argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with argument IBM no argument end of test document
+
+OpenBSD January 19, 2011 OpenBSD
diff --git a/regress/mdoc/Tn/noarg.out_lint b/regress/mdoc/Tn/noarg.out_lint
new file mode 100644
index 00000000..74e0b6fc
--- /dev/null
+++ b/regress/mdoc/Tn/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:11:2: WARNING: skipping empty macro: Tn