summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-04-12 22:57:05 +0000
committerschwarze <schwarze@openbsd.org>2010-04-12 22:57:05 +0000
commitaa0539af2937774b55d0bf646dd0e4b81f713b45 (patch)
treea681ace78b4e3ba2ef5e381dd253e6489fbbe926
parentPartial revert of term.c rev. 1.23 (diff)
downloadwireguard-openbsd-aa0539af2937774b55d0bf646dd0e4b81f713b45.tar.xz
wireguard-openbsd-aa0539af2937774b55d0bf646dd0e4b81f713b45.zip
new test to check vertical spacing in nested lists,
related to mdoc_term.c rev. 1.74
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/nested.in44
2 files changed, 47 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/Makefile b/regress/usr.bin/mandoc/mdoc/Bl/Makefile
index 852d9bfe336..265e90b1588 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Bl/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2009/12/24 23:29:44 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2010/04/12 22:57:05 schwarze Exp $
-REGRESS_TARGETS=tag inset hang diag column
-GROFF_TARGETS=tag inset hang diag column
+REGRESS_TARGETS=tag inset hang diag column nested
+GROFF_TARGETS=tag inset hang diag column nested
REGRESS_TARGETS+=EMULTILIST ENOTYPE
REGRESS_SLOW_TARGETS=EMULTILIST
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/nested.in b/regress/usr.bin/mandoc/mdoc/Bl/nested.in
new file mode 100644
index 00000000000..edc81795d34
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Bl/nested.in
@@ -0,0 +1,44 @@
+.Dd $Mdocdate: April 12 2010 $
+.Dt BL-NESTED 1
+.Os
+.Sh NAME
+.Nm Bl-nested
+.Nd nested lists
+.Sh DESCRIPTION
+inset:
+.Bl -inset
+.It outer
+list
+.Bl -inset
+.It inner
+list
+.El
+.El
+inset compact:
+.Bl -inset -compact
+.It outer
+list
+.Bl -inset -compact
+.It inner
+list
+.El
+.El
+dash:
+.Bl -dash
+.It
+outer list
+.Bl -dash
+.It
+inner list
+.El
+.El
+dash compact:
+.Bl -dash -compact
+.It
+outer list
+.Bl -dash -compact
+.It
+inner list
+.El
+.El
+final text