aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bx
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
commitd9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch)
treec07efd74ac58650949dc67576001a720e688319f /regress/mdoc/Bx
parentcdbb1fca07752eb230e5219c22e9e65075c85b82 (diff)
downloadmandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/mdoc/Bx')
-rw-r--r--regress/mdoc/Bx/Makefile5
-rw-r--r--regress/mdoc/Bx/args.in26
-rw-r--r--regress/mdoc/Bx/args.out_ascii21
3 files changed, 52 insertions, 0 deletions
diff --git a/regress/mdoc/Bx/Makefile b/regress/mdoc/Bx/Makefile
new file mode 100644
index 00000000..b27441d0
--- /dev/null
+++ b/regress/mdoc/Bx/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $
+
+REGRESS_TARGETS=args
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Bx/args.in b/regress/mdoc/Bx/args.in
new file mode 100644
index 00000000..32530959
--- /dev/null
+++ b/regress/mdoc/Bx/args.in
@@ -0,0 +1,26 @@
+.Dd January 30, 2011
+.Dt BX-ARGS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Bx-args
+.Nd arguments to the BSD macro
+.Sh DESCRIPTION
+no arguments:
+.Bx
+.Pp
+one standard argument:
+.Bx 4.4
+.Pp
+one non-standard argument:
+.Bx nett
+.Pp
+one semi-standard argument:
+.Bx 4.1c
+.Pp
+two standard arguments:
+.Bx 4.3 reno
+.Pp
+more arguments:
+.Bx 4.3 tahoe and some additional words
+.Pp
+end of test document
diff --git a/regress/mdoc/Bx/args.out_ascii b/regress/mdoc/Bx/args.out_ascii
new file mode 100644
index 00000000..9f45970e
--- /dev/null
+++ b/regress/mdoc/Bx/args.out_ascii
@@ -0,0 +1,21 @@
+BX-ARGS(1) General Commands Manual BX-ARGS(1)
+
+NNAAMMEE
+ BBxx--aarrggss - arguments to the BSD macro
+
+DDEESSCCRRIIPPTTIIOONN
+ no arguments: BSD
+
+ one standard argument: 4.4BSD
+
+ one non-standard argument: nettBSD
+
+ one semi-standard argument: 4.1cBSD
+
+ two standard arguments: 4.3BSD-Reno
+
+ more arguments: 4.3BSD-Tahoe and some additional words
+
+ end of test document
+
+OpenBSD January 30, 2011 OpenBSD