aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfa99e371284a414ce8b13892006df003d31a0e37 (patch)
tree77511f9108c44772a3c5e9517e7c7bb8e93e1879 /regress/mdoc/Fd
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
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