summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc/Fd
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Fd')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/Makefile8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/empty.out_ascii13
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/empty.out_lint2
4 files changed, 33 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/Makefile b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
index 18ce23ac96d..7cd78c65b86 100644
--- a/regress/usr.bin/mandoc/mdoc/Fd/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2012/11/18 00:05:28 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2015/02/06 03:31:11 schwarze Exp $
-REGRESS_TARGETS = break font eos
-
-SKIP_TMAN = eos
+REGRESS_TARGETS = break empty eos font
+LINT_TARGETS = empty
+SKIP_TMAN = eos
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/empty.in b/regress/usr.bin/mandoc/mdoc/Fd/empty.in
new file mode 100644
index 00000000000..5951316dd29
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fd/empty.in
@@ -0,0 +1,14 @@
+.Dd February 5, 2015
+.Dt FD-EMPTY 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fd-empty
+.Nd empty preprocessor directive macros
+.Sh SYNOPSIS
+.In sys/types.h
+.Fd
+.In stdlib.h
+.Sh DESCRIPTION
+leading text
+.Fd
+trailing text
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Fd/empty.out_ascii
new file mode 100644
index 00000000000..d525b4822eb
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fd/empty.out_ascii
@@ -0,0 +1,13 @@
+FD-EMPTY(1) General Commands Manual FD-EMPTY(1)
+
+NNAAMMEE
+ FFdd--eemmppttyy - empty preprocessor directive macros
+
+SSYYNNOOPPSSIISS
+ ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
+ ##iinncclluuddee <<ssttddlliibb..hh>>
+
+DDEESSCCRRIIPPTTIIOONN
+ leading text trailing text
+
+OpenBSD February 5, 2015 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/empty.out_lint b/regress/usr.bin/mandoc/mdoc/Fd/empty.out_lint
new file mode 100644
index 00000000000..15f762702f1
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fd/empty.out_lint
@@ -0,0 +1,2 @@
+mandoc: empty.in:9:2: WARNING: skipping empty macro: Fd
+mandoc: empty.in:13:2: WARNING: skipping empty macro: Fd