summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/man
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc/man')
-rw-r--r--regress/usr.bin/mandoc/man/nf/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/nf/userdef.in21
-rw-r--r--regress/usr.bin/mandoc/man/nf/userdef.out_ascii19
3 files changed, 42 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/nf/Makefile b/regress/usr.bin/mandoc/man/nf/Makefile
index 0b8694a7ca5..b8f84c157b9 100644
--- a/regress/usr.bin/mandoc/man/nf/Makefile
+++ b/regress/usr.bin/mandoc/man/nf/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.4 2012/07/10 17:05:16 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2014/03/08 16:20:00 schwarze Exp $
-REGRESS_TARGETS = indent args vert
+REGRESS_TARGETS = indent args vert userdef
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/nf/userdef.in b/regress/usr.bin/mandoc/man/nf/userdef.in
new file mode 100644
index 00000000000..9342246985f
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/nf/userdef.in
@@ -0,0 +1,21 @@
+.TH NF-USERDEF 1 "March 8, 2014" OpenBSD
+.SH NAME
+nf-userdef \- setting unfilled mode via user-defined macros
+.SH DESCRIPTION
+filled
+text
+.nf
+unfilled
+text
+.fi
+filled
+text
+.de MYBLOCK
+.nf
+unfilled
+text
+.fi
+filled
+text
+..
+.MYBLOCK
diff --git a/regress/usr.bin/mandoc/man/nf/userdef.out_ascii b/regress/usr.bin/mandoc/man/nf/userdef.out_ascii
new file mode 100644
index 00000000000..4a8b35cf799
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/nf/userdef.out_ascii
@@ -0,0 +1,19 @@
+NF-USERDEF(1) OpenBSD Reference Manual NF-USERDEF(1)
+
+
+
+NNAAMMEE
+ nf-userdef - setting unfilled mode via user-defined macros
+
+DDEESSCCRRIIPPTTIIOONN
+ filled text
+ unfilled
+ text
+ filled text
+ unfilled
+ text
+ filled text
+
+
+
+OpenBSD March 8, 2014 NF-USERDEF(1)