summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Ic
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/Ic
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/Ic')
-rw-r--r--regress/mdoc/Ic/Makefile6
-rw-r--r--regress/mdoc/Ic/font.in10
-rw-r--r--regress/mdoc/Ic/font.out_ascii9
-rw-r--r--regress/mdoc/Ic/noarg.in12
-rw-r--r--regress/mdoc/Ic/noarg.out_ascii9
-rw-r--r--regress/mdoc/Ic/noarg.out_lint1
6 files changed, 47 insertions, 0 deletions
diff --git a/regress/mdoc/Ic/Makefile b/regress/mdoc/Ic/Makefile
new file mode 100644
index 00000000..1be2a84a
--- /dev/null
+++ b/regress/mdoc/Ic/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/Ic/font.in b/regress/mdoc/Ic/font.in
new file mode 100644
index 00000000..26e80298
--- /dev/null
+++ b/regress/mdoc/Ic/font.in
@@ -0,0 +1,10 @@
+.Dd July 9, 2012
+.Dt IC-FONT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ic-font
+.Nd changing fonts inside the internal command macro
+.Sh DESCRIPTION
+normal text
+.Ic bold\\fIemphasis\\fPback
+trailing text
diff --git a/regress/mdoc/Ic/font.out_ascii b/regress/mdoc/Ic/font.out_ascii
new file mode 100644
index 00000000..6267aed3
--- /dev/null
+++ b/regress/mdoc/Ic/font.out_ascii
@@ -0,0 +1,9 @@
+IC-FONT(1) General Commands Manual IC-FONT(1)
+
+NNAAMMEE
+ IIcc--ffoonntt - changing fonts inside the internal command macro
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
+
+OpenBSD July 9, 2012 OpenBSD
diff --git a/regress/mdoc/Ic/noarg.in b/regress/mdoc/Ic/noarg.in
new file mode 100644
index 00000000..76c22e7b
--- /dev/null
+++ b/regress/mdoc/Ic/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt IC-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ic-noarg
+.Nd interactive command without an argument
+.Sh DESCRIPTION
+with command:
+.Ic ls
+no command:
+.Ic
+end of test document
diff --git a/regress/mdoc/Ic/noarg.out_ascii b/regress/mdoc/Ic/noarg.out_ascii
new file mode 100644
index 00000000..c5dda265
--- /dev/null
+++ b/regress/mdoc/Ic/noarg.out_ascii
@@ -0,0 +1,9 @@
+IC-NOARG(1) General Commands Manual IC-NOARG(1)
+
+NNAAMMEE
+ IIcc--nnooaarrgg - interactive command without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with command: llss no command: end of test document
+
+OpenBSD January 19, 2011 OpenBSD
diff --git a/regress/mdoc/Ic/noarg.out_lint b/regress/mdoc/Ic/noarg.out_lint
new file mode 100644
index 00000000..5ae495bd
--- /dev/null
+++ b/regress/mdoc/Ic/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ic