summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-07 12:39:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-07 12:39:01 +0000
commitb8ef179ea90844da1a88b01ec79d02fe12cf0d23 (patch)
treee4d26296c1c82875810ada1b7f8e7c12eb3a6ac6 /regress
parent78f3b980a3571b0a981193a493a0291762bd2aca (diff)
downloadmandoc-b8ef179ea90844da1a88b01ec79d02fe12cf0d23.tar.gz
Fix .In formatting in the SYNOPSIS:
No &zwnj; in the middle of **, please.
Diffstat (limited to 'regress')
-rw-r--r--regress/mdoc/Fd/Makefile2
-rw-r--r--regress/mdoc/Fd/empty.out_markdown17
-rw-r--r--regress/mdoc/In/Makefile2
-rw-r--r--regress/mdoc/In/break.out_markdown35
-rw-r--r--regress/mdoc/In/noarg.out_markdown25
5 files changed, 79 insertions, 2 deletions
diff --git a/regress/mdoc/Fd/Makefile b/regress/mdoc/Fd/Makefile
index c1c6d5dd..9c120609 100644
--- a/regress/mdoc/Fd/Makefile
+++ b/regress/mdoc/Fd/Makefile
@@ -3,6 +3,6 @@
REGRESS_TARGETS = break empty eos font
LINT_TARGETS = empty
SKIP_TMAN = eos
-MARKDOWN_TARGETS = break eos font
+MARKDOWN_TARGETS = break empty eos font
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Fd/empty.out_markdown b/regress/mdoc/Fd/empty.out_markdown
new file mode 100644
index 00000000..9dc71039
--- /dev/null
+++ b/regress/mdoc/Fd/empty.out_markdown
@@ -0,0 +1,17 @@
+FD-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Fd-empty** - empty preprocessor directive macros
+
+# SYNOPSIS
+
+**#include &lt;sys/types.h>**
+**#include &lt;stdlib.h>**
+
+# DESCRIPTION
+
+leading text
+trailing text
+
+OpenBSD - February 5, 2015
diff --git a/regress/mdoc/In/Makefile b/regress/mdoc/In/Makefile
index 1c8a484f..9c92ccf4 100644
--- a/regress/mdoc/In/Makefile
+++ b/regress/mdoc/In/Makefile
@@ -2,6 +2,6 @@
REGRESS_TARGETS = break eos font noarg
LINT_TARGETS = noarg
-MARKDOWN_TARGETS = eos font
+MARKDOWN_TARGETS = break eos font noarg
.include <bsd.regress.mk>
diff --git a/regress/mdoc/In/break.out_markdown b/regress/mdoc/In/break.out_markdown
new file mode 100644
index 00000000..dbc1085f
--- /dev/null
+++ b/regress/mdoc/In/break.out_markdown
@@ -0,0 +1,35 @@
+IN-BREAK(2) - System Calls Manual
+
+# NAME
+
+**In-break** - line break before header include file
+
+# SYNOPSIS
+
+**#include &lt;fcntl.h>**
+
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*);
+
+**#include &lt;sys/types.h>**
+**#include &lt;unistd.h>**
+
+*int*
+**dup**(*int oldd*);
+
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*);
+
+# DESCRIPTION
+
+&lt;*fcntl.h*>
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*)
+&lt;*sys/types.h*>
+&lt;*unistd.h*>
+*int*
+**dup**(*int oldd*)
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*)
+
+OpenBSD - June 6, 2010
diff --git a/regress/mdoc/In/noarg.out_markdown b/regress/mdoc/In/noarg.out_markdown
new file mode 100644
index 00000000..81970226
--- /dev/null
+++ b/regress/mdoc/In/noarg.out_markdown
@@ -0,0 +1,25 @@
+IN-NOARG(2) - System Calls Manual
+
+# NAME
+
+**In-noarg** - include file macros without argument
+
+# SYNOPSIS
+
+**#include &lt;math.h>**
+
+*double*
+**sin**(*double x*);
+
+*double*
+**cos**(*double x*);
+
+# DESCRIPTION
+
+&lt;*math.h*>
+*double*
+**sin**(*double x*)
+*double*
+**cos**(*double x*)
+
+OpenBSD - February 5, 2015