diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-04-12 23:02:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-04-12 23:02:04 +0000 |
commit | d2d7b24cba876d52ae3a3b06d52677d1e404b680 (patch) | |
tree | fe5f8c2d4e9bfa13c726ae1b0122e7c75045e188 /regress/usr.bin/mandoc | |
parent | e4b0940d52622c1e3e316b6e7c09689492b4507e (diff) |
check handling of blank lines in literal context;
thanks to jmc@ for noticing that this can break;
related to term.c rev. 1.28
Diffstat (limited to 'regress/usr.bin/mandoc')
-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 |