summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/man/IP/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/IP/empty.in26
-rw-r--r--regress/usr.bin/mandoc/man/IP/empty.out_ascii26
3 files changed, 54 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/IP/Makefile b/regress/usr.bin/mandoc/man/IP/Makefile
index a0a3475501b..13541b0eaec 100644
--- a/regress/usr.bin/mandoc/man/IP/Makefile
+++ b/regress/usr.bin/mandoc/man/IP/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.5 2011/11/17 16:28:45 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2012/07/18 16:51:50 schwarze Exp $
-REGRESS_TARGETS=literal spacing width manyargs
+REGRESS_TARGETS = literal spacing width manyargs empty
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/IP/empty.in b/regress/usr.bin/mandoc/man/IP/empty.in
new file mode 100644
index 00000000000..42afeefa0fe
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/IP/empty.in
@@ -0,0 +1,26 @@
+.TH IP-EMPTY 1 "July 17, 2012" OpenBSD
+.SH NAME
+IP-empty \- empty indented paragraphs
+.SH DESCRIPTION
+regular
+text
+.IP
+indented
+text
+.PP
+Empty IP is deleted:
+.IP
+.IP tag1 10n
+.IP tag2
+indented
+text
+.PP
+Empty IP is deleted, RS does not cause additional spacing:
+.IP
+.RS
+.IP tag
+indented
+text
+.RE
+regular
+text
diff --git a/regress/usr.bin/mandoc/man/IP/empty.out_ascii b/regress/usr.bin/mandoc/man/IP/empty.out_ascii
new file mode 100644
index 00000000000..1a17d351f2d
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/IP/empty.out_ascii
@@ -0,0 +1,26 @@
+IP-EMPTY(1) OpenBSD Reference Manual IP-EMPTY(1)
+
+
+
+NNAAMMEE
+ IP-empty - empty indented paragraphs
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+
+ indented text
+
+ Empty IP is deleted:
+
+ tag1
+
+ tag2 indented text
+
+ Empty IP is deleted, RS does not cause additional spacing:
+
+ tag indented text
+ regular text
+
+
+
+OpenBSD July 17, 2012 IP-EMPTY(1)