aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/B
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-03 15:55:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-03 15:55:24 +0000
commit34091a7ac02b59ae92c9258e551d73f383869db9 (patch)
tree0b5cb69489f0d26d8f98bdb6238d076e47a726db /regress/man/B
parent3f480d9d158e76fb6d13b7e2c3675f729ee52727 (diff)
downloadmandoc-34091a7ac02b59ae92c9258e551d73f383869db9.tar.gz
mandoc-34091a7ac02b59ae92c9258e551d73f383869db9.tar.zst
mandoc-34091a7ac02b59ae92c9258e551d73f383869db9.zip
ignore blank lines in man(7) next line scope;
strange groff edge case behaviour found in multimedia/mjpegtools
Diffstat (limited to 'regress/man/B')
-rw-r--r--regress/man/B/Makefile8
-rw-r--r--regress/man/B/blank.in9
-rw-r--r--regress/man/B/blank.out_ascii13
-rw-r--r--regress/man/B/blank.out_lint1
4 files changed, 29 insertions, 2 deletions
diff --git a/regress/man/B/Makefile b/regress/man/B/Makefile
index 8e4d72a9..0fbecac0 100644
--- a/regress/man/B/Makefile
+++ b/regress/man/B/Makefile
@@ -1,6 +1,10 @@
# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:52 schwarze Exp $
-REGRESS_TARGETS = args
-LINT_TARGETS = args
+REGRESS_TARGETS = args blank
+LINT_TARGETS = args blank
+
+# groff-1.22.3 defect:
+# - A blank line in next line scope causes a blank line.
+SKIP_GROFF = blank
.include <bsd.regress.mk>
diff --git a/regress/man/B/blank.in b/regress/man/B/blank.in
new file mode 100644
index 00000000..eef5126f
--- /dev/null
+++ b/regress/man/B/blank.in
@@ -0,0 +1,9 @@
+.TH B-BLANK 1 "June 3, 2017" OpenBSD
+.SH NAME
+B-blank \- blank line in font macro next line scope
+.SH DESCRIPTION
+A blank line in
+.B
+
+bold
+next line scope.
diff --git a/regress/man/B/blank.out_ascii b/regress/man/B/blank.out_ascii
new file mode 100644
index 00000000..4ecf27d8
--- /dev/null
+++ b/regress/man/B/blank.out_ascii
@@ -0,0 +1,13 @@
+B-BLANK(1) General Commands Manual B-BLANK(1)
+
+
+
+NNAAMMEE
+ B-blank - blank line in font macro next line scope
+
+DDEESSCCRRIIPPTTIIOONN
+ A blank line in bboolldd next line scope.
+
+
+
+OpenBSD June 3, 2017 B-BLANK(1)
diff --git a/regress/man/B/blank.out_lint b/regress/man/B/blank.out_lint
new file mode 100644
index 00000000..22e683ea
--- /dev/null
+++ b/regress/man/B/blank.out_lint
@@ -0,0 +1 @@
+mandoc: blank.in:7:1: WARNING: skipping blank line in line scope