summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-07-24 19:00:15 +0000
committerschwarze <schwarze@openbsd.org>2011-07-24 19:00:15 +0000
commit31f2280f4ab68699a2afcfe805c319ad3355242f (patch)
treebfb96f58bb4b0d54e734ad398eadffffa9943155
parentoops! syncronizing -> synchronizing (we'll ignore the z thing...) (diff)
downloadwireguard-openbsd-31f2280f4ab68699a2afcfe805c319ad3355242f.tar.xz
wireguard-openbsd-31f2280f4ab68699a2afcfe805c319ad3355242f.zip
check that a macro works in the head of a tagged paragraph;
found in my tree
-rw-r--r--regress/usr.bin/mandoc/man/TP/Makefile6
-rw-r--r--regress/usr.bin/mandoc/man/TP/macrotag.in13
-rw-r--r--regress/usr.bin/mandoc/man/TP/macrotag.out_ascii17
3 files changed, 33 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/man/TP/Makefile b/regress/usr.bin/mandoc/man/TP/Makefile
index 8869c0b88c8..552a98c6742 100644
--- a/regress/usr.bin/mandoc/man/TP/Makefile
+++ b/regress/usr.bin/mandoc/man/TP/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2011/01/04 01:58:56 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2011/07/24 19:00:15 schwarze Exp $
-REGRESS_TARGETS=literal width manyargs
-GROFF_TARGETS=literal width manyargs
+REGRESS_TARGETS=literal width manyargs macrotag
+GROFF_TARGETS=literal width manyargs macrotag
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/TP/macrotag.in b/regress/usr.bin/mandoc/man/TP/macrotag.in
new file mode 100644
index 00000000000..83f15bd03af
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/macrotag.in
@@ -0,0 +1,13 @@
+.TH TP-MACROTAG 1
+.SH NAME
+TP-macrotag \- macro in the head of a tagged paragraph
+.SH DESCRIPTION
+regular
+text
+.TP
+.B longindent
+indented
+text
+.PP
+regular
+text
diff --git a/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii b/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii
new file mode 100644
index 00000000000..b59a410ae32
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/macrotag.out_ascii
@@ -0,0 +1,17 @@
+TP-MACROTAG(1) TP-MACROTAG(1)
+
+
+
+NNAAMMEE
+ TP-macrotag - macro in the head of a tagged paragraph
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+
+ lloonnggiinnddeenntt
+ indented text
+
+ regular text
+
+
+