summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fd
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
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/Fd
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Fd')
-rw-r--r--regress/mdoc/Fd/Makefile1
-rw-r--r--regress/mdoc/Fd/break.out_markdown35
-rw-r--r--regress/mdoc/Fd/eos.out_markdown13
-rw-r--r--regress/mdoc/Fd/font.out_markdown13
4 files changed, 62 insertions, 0 deletions
diff --git a/regress/mdoc/Fd/Makefile b/regress/mdoc/Fd/Makefile
index 7cd78c65..c1c6d5dd 100644
--- a/regress/mdoc/Fd/Makefile
+++ b/regress/mdoc/Fd/Makefile
@@ -3,5 +3,6 @@
REGRESS_TARGETS = break empty eos font
LINT_TARGETS = empty
SKIP_TMAN = eos
+MARKDOWN_TARGETS = break eos font
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Fd/break.out_markdown b/regress/mdoc/Fd/break.out_markdown
new file mode 100644
index 00000000..1d8459a1
--- /dev/null
+++ b/regress/mdoc/Fd/break.out_markdown
@@ -0,0 +1,35 @@
+FD-BREAK(2) - System Calls Manual
+
+# NAME
+
+**Fd-break** - line break before old-style header include file
+
+# SYNOPSIS
+
+**#include &lt;fcntl.h&gt;**
+
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*);
+
+**#include &lt;sys/types.h&gt;**
+**#include &lt;unistd.h&gt;**
+
+*int*
+**dup**(*int oldd*);
+
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*);
+
+# DESCRIPTION
+
+**#include &lt;fcntl.h&gt;**
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*)
+**#include &lt;sys/types.h&gt;**
+**#include &lt;unistd.h&gt;**
+*int*
+**dup**(*int oldd*)
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*)
+
+OpenBSD - June 9, 2010
diff --git a/regress/mdoc/Fd/eos.out_markdown b/regress/mdoc/Fd/eos.out_markdown
new file mode 100644
index 00000000..c415843d
--- /dev/null
+++ b/regress/mdoc/Fd/eos.out_markdown
@@ -0,0 +1,13 @@
+FD-EOS(1) - General Commands Manual
+
+# NAME
+
+**Fd-eos** - end of sentence handling after the legacy include macro
+
+# DESCRIPTION
+
+Let's use
+**string.h .**
+And then something else.
+
+OpenBSD - November 17, 2012
diff --git a/regress/mdoc/Fd/font.out_markdown b/regress/mdoc/Fd/font.out_markdown
new file mode 100644
index 00000000..d90fae68
--- /dev/null
+++ b/regress/mdoc/Fd/font.out_markdown
@@ -0,0 +1,13 @@
+FD-FONT(2) - System Calls Manual
+
+# NAME
+
+**Fd-font** - changing the font inside the old-style include macro
+
+# DESCRIPTION
+
+normal text
+**prefix*header*suffix**
+trailing text
+
+OpenBSD - July 9, 2012