summaryrefslogtreecommitdiffstats
path: root/regress/man/B
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/man/B
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/man/B')
-rw-r--r--regress/man/B/Makefile6
-rw-r--r--regress/man/B/args.in20
-rw-r--r--regress/man/B/args.out_ascii18
-rw-r--r--regress/man/B/args.out_lint1
4 files changed, 45 insertions, 0 deletions
diff --git a/regress/man/B/Makefile b/regress/man/B/Makefile
new file mode 100644
index 00000000..8e4d72a9
--- /dev/null
+++ b/regress/man/B/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:52 schwarze Exp $
+
+REGRESS_TARGETS = args
+LINT_TARGETS = args
+
+.include <bsd.regress.mk>
diff --git a/regress/man/B/args.in b/regress/man/B/args.in
new file mode 100644
index 00000000..57493d5d
--- /dev/null
+++ b/regress/man/B/args.in
@@ -0,0 +1,20 @@
+.TH B-ARGS 1 "July 30, 2014" OpenBSD
+.SH NAME
+B-args \- arguments to font macros
+.SH DESCRIPTION
+This is
+.B bold
+text.
+It also works with
+.B several words on a line
+and with
+.B
+next line
+scope.
+.nf
+In no-fill mode:
+.B two words
+and another line.
+.fi
+It has no effect at the end of the file:
+.B
diff --git a/regress/man/B/args.out_ascii b/regress/man/B/args.out_ascii
new file mode 100644
index 00000000..e5102675
--- /dev/null
+++ b/regress/man/B/args.out_ascii
@@ -0,0 +1,18 @@
+B-ARGS(1) General Commands Manual B-ARGS(1)
+
+
+
+NNAAMMEE
+ B-args - arguments to font macros
+
+DDEESSCCRRIIPPTTIIOONN
+ This is bboolldd text. It also works with sseevveerraall wwoorrddss oonn aa lliinnee and with
+ nneexxtt lliinnee scope.
+ In no-fill mode:
+ ttwwoo wwoorrddss
+ and another line.
+ It has no effect at the end of the file:
+
+
+
+OpenBSD July 30, 2014 B-ARGS(1)
diff --git a/regress/man/B/args.out_lint b/regress/man/B/args.out_lint
new file mode 100644
index 00000000..0239c0a3
--- /dev/null
+++ b/regress/man/B/args.out_lint
@@ -0,0 +1 @@
+mandoc: args.in:20:2: WARNING: line scope broken: EOF breaks B