summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/man/RS/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/RS/literal.in18
-rw-r--r--regress/usr.bin/mandoc/man/RS/literal.out_ascii20
3 files changed, 40 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/RS/Makefile b/regress/usr.bin/mandoc/man/RS/Makefile
index ac5c2ff35d4..bca9d9e9017 100644
--- a/regress/usr.bin/mandoc/man/RS/Makefile
+++ b/regress/usr.bin/mandoc/man/RS/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.3 2012/11/18 17:59:03 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2013/01/05 22:18:59 schwarze Exp $
-REGRESS_TARGETS = breaking empty nested
+REGRESS_TARGETS = breaking empty literal nested
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/RS/literal.in b/regress/usr.bin/mandoc/man/RS/literal.in
new file mode 100644
index 00000000000..bd57c610b6e
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/RS/literal.in
@@ -0,0 +1,18 @@
+.TH RS-LITERAL 1 "January 5, 2013" OpenBSD
+.SH NAME
+RS-literal \- indented literal text
+.SH DESCRIPTION
+regular
+text
+.nf
+literal
+text
+.RS
+This is a short line.
+This is a very long line that would wrap if it weren't in literal context.
+.RE
+.PP
+literal text
+.fi
+regular
+text
diff --git a/regress/usr.bin/mandoc/man/RS/literal.out_ascii b/regress/usr.bin/mandoc/man/RS/literal.out_ascii
new file mode 100644
index 00000000000..c8d527ecc0b
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/RS/literal.out_ascii
@@ -0,0 +1,20 @@
+RS-LITERAL(1) OpenBSD Reference Manual RS-LITERAL(1)
+
+
+
+NNAAMMEE
+ RS-literal - indented literal text
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ literal
+ text
+ This is a short line.
+ This is a very long line that would wrap if it weren't in literal context.
+
+ literal text
+ regular text
+
+
+
+OpenBSD January 5, 2013 RS-LITERAL(1)