summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-03-07 12:38:26 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-03-07 12:38:26 +0000
commit7a3294d7fb92da962f07ef3a35eda3bcdc2229bc (patch)
tree7d8259a9eb17796e169e005de154fd31a0bb361c /regress
parent590a57da38a361c11441025a155e1d87877b70a7 (diff)
Fix .In formatting in the SYNOPSIS:
No &zwnj; in the middle of **, please.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/empty.out_markdown17
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/break.out_markdown35
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/noarg.out_markdown25
5 files changed, 81 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/Makefile b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
index 7d6e08d224e..da6e003f2cf 100644
--- a/regress/usr.bin/mandoc/mdoc/Fd/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2017/03/05 19:59:26 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2017/03/07 12:38:25 schwarze Exp $
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/usr.bin/mandoc/mdoc/Fd/empty.out_markdown b/regress/usr.bin/mandoc/mdoc/Fd/empty.out_markdown
new file mode 100644
index 00000000000..9dc71039573
--- /dev/null
+++ b/regress/usr.bin/mandoc/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/usr.bin/mandoc/mdoc/In/Makefile b/regress/usr.bin/mandoc/mdoc/In/Makefile
index f23fde0a6bb..87581d8fe4c 100644
--- a/regress/usr.bin/mandoc/mdoc/In/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/In/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.7 2017/03/05 19:59:26 schwarze Exp $
+# $OpenBSD: Makefile,v 1.8 2017/03/07 12:38:25 schwarze Exp $
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/usr.bin/mandoc/mdoc/In/break.out_markdown b/regress/usr.bin/mandoc/mdoc/In/break.out_markdown
new file mode 100644
index 00000000000..dbc1085fa1b
--- /dev/null
+++ b/regress/usr.bin/mandoc/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/usr.bin/mandoc/mdoc/In/noarg.out_markdown b/regress/usr.bin/mandoc/mdoc/In/noarg.out_markdown
new file mode 100644
index 00000000000..81970226bd2
--- /dev/null
+++ b/regress/usr.bin/mandoc/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