summaryrefslogtreecommitdiffstats
path: root/regress/roff/br
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/roff/br
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/roff/br')
-rw-r--r--regress/roff/br/Makefile6
-rw-r--r--regress/roff/br/args.in9
-rw-r--r--regress/roff/br/args.out_ascii14
-rw-r--r--regress/roff/br/args.out_lint1
4 files changed, 30 insertions, 0 deletions
diff --git a/regress/roff/br/Makefile b/regress/roff/br/Makefile
new file mode 100644
index 00000000..4d383bee
--- /dev/null
+++ b/regress/roff/br/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.3 2015/02/06 08:28:04 schwarze Exp $
+
+REGRESS_TARGETS = args
+LINT_TARGETS = args
+
+.include <bsd.regress.mk>
diff --git a/regress/roff/br/args.in b/regress/roff/br/args.in
new file mode 100644
index 00000000..c2837971
--- /dev/null
+++ b/regress/roff/br/args.in
@@ -0,0 +1,9 @@
+.TH BR-ARGS 1 "January 17, 2011" OpenBSD
+.SH NAME
+br-args \- arguments to .br macros
+.SH DESCRIPTION
+some
+text
+.br arg1 arg2 arg3
+more
+text
diff --git a/regress/roff/br/args.out_ascii b/regress/roff/br/args.out_ascii
new file mode 100644
index 00000000..b4d7c40b
--- /dev/null
+++ b/regress/roff/br/args.out_ascii
@@ -0,0 +1,14 @@
+BR-ARGS(1) General Commands Manual BR-ARGS(1)
+
+
+
+NNAAMMEE
+ br-args - arguments to .br macros
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+ more text
+
+
+
+OpenBSD January 17, 2011 BR-ARGS(1)
diff --git a/regress/roff/br/args.out_lint b/regress/roff/br/args.out_lint
new file mode 100644
index 00000000..e9a03ad5
--- /dev/null
+++ b/regress/roff/br/args.out_lint
@@ -0,0 +1 @@
+mandoc: args.in:7:5: ERROR: skipping all arguments: br arg1 arg2 arg3