summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Db
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Db
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/mdoc/Db')
-rw-r--r--regress/mdoc/Db/Makefile6
-rw-r--r--regress/mdoc/Db/args.in14
-rw-r--r--regress/mdoc/Db/args.out_ascii9
-rw-r--r--regress/mdoc/Db/args.out_lint3
4 files changed, 32 insertions, 0 deletions
diff --git a/regress/mdoc/Db/Makefile b/regress/mdoc/Db/Makefile
new file mode 100644
index 00000000..c37822ff
--- /dev/null
+++ b/regress/mdoc/Db/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2014/11/27 16:20:27 schwarze Exp $
+
+REGRESS_TARGETS = args
+LINT_TARGETS = args
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Db/args.in b/regress/mdoc/Db/args.in
new file mode 100644
index 00000000..b40d7b0c
--- /dev/null
+++ b/regress/mdoc/Db/args.in
@@ -0,0 +1,14 @@
+.Dd November 27, 2014
+.Dt DB-ARGS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Db-args
+.Nd obsolete debug macro
+.Sh DESCRIPTION
+no args
+.Db
+one arg
+.Db on
+two args
+.Db foo bar
+end of text
diff --git a/regress/mdoc/Db/args.out_ascii b/regress/mdoc/Db/args.out_ascii
new file mode 100644
index 00000000..909b91ba
--- /dev/null
+++ b/regress/mdoc/Db/args.out_ascii
@@ -0,0 +1,9 @@
+DB-ARGS(1) General Commands Manual DB-ARGS(1)
+
+NNAAMMEE
+ DDbb--aarrggss - obsolete debug macro
+
+DDEESSCCRRIIPPTTIIOONN
+ no args one arg two args end of text
+
+OpenBSD November 27, 2014 OpenBSD
diff --git a/regress/mdoc/Db/args.out_lint b/regress/mdoc/Db/args.out_lint
new file mode 100644
index 00000000..e0eb44ae
--- /dev/null
+++ b/regress/mdoc/Db/args.out_lint
@@ -0,0 +1,3 @@
+mandoc: args.in:9:2: WARNING: obsolete macro: Db
+mandoc: args.in:11:2: WARNING: obsolete macro: Db
+mandoc: args.in:13:2: WARNING: obsolete macro: Db