diff options
author | 2010-04-12 23:02:03 +0000 | |
---|---|---|
committer | 2010-04-12 23:02:03 +0000 | |
commit | 5812f11d1f69109ec5756905bbc950e3cb6be9a3 (patch) | |
tree | 2617d42f50c995a3ff9270e2e1a8de2dc88a93e9 | |
parent | new test to check vertical spacing in nested lists, (diff) | |
download | wireguard-openbsd-5812f11d1f69109ec5756905bbc950e3cb6be9a3.tar.xz wireguard-openbsd-5812f11d1f69109ec5756905bbc950e3cb6be9a3.zip |
check handling of blank lines in literal context;
thanks to jmc@ for noticing that this can break;
related to term.c rev. 1.28
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bd/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bd/blank.in | 17 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Makefile | 4 |
3 files changed, 25 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bd/Makefile b/regress/usr.bin/mandoc/mdoc/Bd/Makefile new file mode 100644 index 00000000000..58084d5b4cd --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Bd/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2010/04/12 23:02:03 schwarze Exp $ + +REGRESS_TARGETS=blank +GROFF_TARGETS=blank + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Bd/blank.in b/regress/usr.bin/mandoc/mdoc/Bd/blank.in new file mode 100644 index 00000000000..c165b20c31e --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Bd/blank.in @@ -0,0 +1,17 @@ +.Dd $Mdocdate: April 12 2010 $ +.Dt BD-BLANK 1 +.Os +.Sh NAME +.Nm Bd-blank +.Nd handling of blank lines in literal displays +.Sh DESCRIPTION +.Bd -literal +one completely blank line: + +two blank lines: + + +finally, a trailing blank line: + +.Ed +end of test document diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile index 609b1de198f..80e4898ddf6 100644 --- a/regress/usr.bin/mandoc/mdoc/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.6 2010/04/08 00:29:28 schwarze Exp $ +# $OpenBSD: Makefile,v 1.7 2010/04/12 23:02:03 schwarze Exp $ -SUBDIR+= Bl Fl In Li Pa Rs Sm Xr +SUBDIR+= Bd Bl Fl In Li Pa Rs Sm Xr groff groff-clean: _SUBDIRUSE |