aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Cm
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
commitfa99e371284a414ce8b13892006df003d31a0e37 (patch)
tree77511f9108c44772a3c5e9517e7c7bb8e93e1879 /regress/mdoc/Cm
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Cm')
-rw-r--r--regress/mdoc/Cm/Makefile1
-rw-r--r--regress/mdoc/Cm/basic.out_markdown15
-rw-r--r--regress/mdoc/Cm/font.out_markdown13
-rw-r--r--regress/mdoc/Cm/noarg.out_markdown15
4 files changed, 44 insertions, 0 deletions
diff --git a/regress/mdoc/Cm/Makefile b/regress/mdoc/Cm/Makefile
index e674e756..aa181eab 100644
--- a/regress/mdoc/Cm/Makefile
+++ b/regress/mdoc/Cm/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = basic font noarg
LINT_TARGETS = noarg
+MARKDOWN_TARGETS = basic font noarg
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Cm/basic.out_markdown b/regress/mdoc/Cm/basic.out_markdown
new file mode 100644
index 00000000..0822c26a
--- /dev/null
+++ b/regress/mdoc/Cm/basic.out_markdown
@@ -0,0 +1,15 @@
+CM-BASIC(1) - General Commands Manual
+
+# NAME
+
+**Cm-basic** - basic usage of the Cm macro
+
+# DESCRIPTION
+
+end of line:
+**mt** **-f** *device* **rewind**
+
+middle of line:
+**ps** **-o** **pid**,**command**
+
+OpenBSD - July 6, 2012
diff --git a/regress/mdoc/Cm/font.out_markdown b/regress/mdoc/Cm/font.out_markdown
new file mode 100644
index 00000000..2f58f0c0
--- /dev/null
+++ b/regress/mdoc/Cm/font.out_markdown
@@ -0,0 +1,13 @@
+CM-FONT(1) - General Commands Manual
+
+# NAME
+
+**Cm-font** - changing fonts inside the command modifier macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Cm/noarg.out_markdown b/regress/mdoc/Cm/noarg.out_markdown
new file mode 100644
index 00000000..6aff6353
--- /dev/null
+++ b/regress/mdoc/Cm/noarg.out_markdown
@@ -0,0 +1,15 @@
+CM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Cm-noarg** - command modifier macro without arguments
+
+# DESCRIPTION
+
+end of line:
+**mt** **-f** *device*
+
+middle of line:
+**ps** **-x** **-o** **command**
+
+OpenBSD - July 2, 2014