summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/man/TP
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc/man/TP')
-rw-r--r--regress/usr.bin/mandoc/man/TP/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/TP/double.in1
-rw-r--r--regress/usr.bin/mandoc/man/TP/double.out_lint5
3 files changed, 9 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/man/TP/Makefile b/regress/usr.bin/mandoc/man/TP/Makefile
index d5b74f160d1..7f3d995fe2e 100644
--- a/regress/usr.bin/mandoc/man/TP/Makefile
+++ b/regress/usr.bin/mandoc/man/TP/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.7 2014/04/08 07:13:01 schwarze Exp $
+# $OpenBSD: Makefile,v 1.8 2014/07/02 11:42:56 schwarze Exp $
REGRESS_TARGETS = badarg double literal longhead macrotag manyargs
REGRESS_TARGETS += sameline width
+LINT_TARGETS = double
+
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/TP/double.in b/regress/usr.bin/mandoc/man/TP/double.in
index 8d59f1f9fc5..4a6b1674a1b 100644
--- a/regress/usr.bin/mandoc/man/TP/double.in
+++ b/regress/usr.bin/mandoc/man/TP/double.in
@@ -27,6 +27,7 @@ at which point will this text wrap to the next line?
normal paragraph:
This is a rather long text because we want to test the text width;
at which point will this text wrap to the next line?
+.B
.PP
.TP 16n
.TP 16n
diff --git a/regress/usr.bin/mandoc/man/TP/double.out_lint b/regress/usr.bin/mandoc/man/TP/double.out_lint
new file mode 100644
index 00000000000..9040bc5224a
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/double.out_lint
@@ -0,0 +1,5 @@
+mandoc: double.in:20:2: WARNING: skipping paragraph macro: PP empty
+mandoc: double.in:21:2: WARNING: line scope broken: TP breaks TP
+mandoc: double.in:30:2: WARNING: line scope broken: PP breaks B
+mandoc: double.in:31:2: WARNING: skipping paragraph macro: PP empty
+mandoc: double.in:32:2: WARNING: line scope broken: TP breaks TP