summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-08 00:29:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-08 00:29:29 +0000
commitcda75c6c4aea6128bf88feab479d66ed8a5aee28 (patch)
tree853ecf6d2b6a7659bd3b858a64dd5d6c39126ebd /regress/usr.bin/mandoc/mdoc
parenta4306ab7d8473e6ba6e762a1eff29a636a589c61 (diff)
Check the behaviour of quoted and unquoted punctuation
after the mdoc(7) literal macro, .Li.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Li/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Li/punct.in18
-rw-r--r--regress/usr.bin/mandoc/mdoc/Makefile4
3 files changed, 26 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Li/Makefile b/regress/usr.bin/mandoc/mdoc/Li/Makefile
new file mode 100644
index 00000000000..cacf7d7027a
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Li/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2010/04/08 00:29:28 schwarze Exp $
+
+REGRESS_TARGETS=punct
+GROFF_TARGETS=punct
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Li/punct.in b/regress/usr.bin/mandoc/mdoc/Li/punct.in
new file mode 100644
index 00000000000..5dfa44b5c94
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Li/punct.in
@@ -0,0 +1,18 @@
+.Dd $Mdocdate: April 8 2010 $
+.Dt LI-PUNCT 1
+.Os
+.Sh NAME
+.Nm Li-punct
+.Nd punctuation following a literal macro
+.Sh DESCRIPTION
+.Li before . after Nm
+.Pp
+.Li "before . after Nm"
+.Pp
+.Li . after Nm
+.Pp
+.Li ". after Nm"
+.Pp
+.Li .
+.Pp
+.Li "."
diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile
index 36be7817681..609b1de198f 100644
--- a/regress/usr.bin/mandoc/mdoc/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.5 2010/02/17 22:35:17 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2010/04/08 00:29:28 schwarze Exp $
-SUBDIR+= Bl Fl In Pa Rs Sm Xr
+SUBDIR+= Bl Fl In Li Pa Rs Sm Xr
groff groff-clean: _SUBDIRUSE