aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/cc
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/roff/cc
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/roff/cc')
-rw-r--r--regress/roff/cc/Makefile6
-rw-r--r--regress/roff/cc/basic.in19
-rw-r--r--regress/roff/cc/basic.out_ascii17
-rw-r--r--regress/roff/cc/basic.out_lint1
4 files changed, 43 insertions, 0 deletions
diff --git a/regress/roff/cc/Makefile b/regress/roff/cc/Makefile
new file mode 100644
index 00000000..33951ead
--- /dev/null
+++ b/regress/roff/cc/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2015/02/06 16:05:51 schwarze Exp $
+
+REGRESS_TARGETS = basic
+LINT_TARGETS = basic
+
+.include <bsd.regress.mk>
diff --git a/regress/roff/cc/basic.in b/regress/roff/cc/basic.in
new file mode 100644
index 00000000..ffd1c211
--- /dev/null
+++ b/regress/roff/cc/basic.in
@@ -0,0 +1,19 @@
+.TH CC-BASIC 1 "July 7, 2012" OpenBSD
+.SH NAME
+cc-basic \- basic usage of the cc request
+.SH DESCRIPTION
+first line
+.br
+second
+.cc :
+line
+:br
+third
+:cc ;bogus
+line
+;br
+fourth
+;cc
+line
+.br
+last line
diff --git a/regress/roff/cc/basic.out_ascii b/regress/roff/cc/basic.out_ascii
new file mode 100644
index 00000000..530f1ff2
--- /dev/null
+++ b/regress/roff/cc/basic.out_ascii
@@ -0,0 +1,17 @@
+CC-BASIC(1) General Commands Manual CC-BASIC(1)
+
+
+
+NNAAMMEE
+ cc-basic - basic usage of the cc request
+
+DDEESSCCRRIIPPTTIIOONN
+ first line
+ second line
+ third line
+ fourth line
+ last line
+
+
+
+OpenBSD July 7, 2012 CC-BASIC(1)
diff --git a/regress/roff/cc/basic.out_lint b/regress/roff/cc/basic.out_lint
new file mode 100644
index 00000000..f091c585
--- /dev/null
+++ b/regress/roff/cc/basic.out_lint
@@ -0,0 +1 @@
+mandoc: basic.in:12:6: ERROR: skipping excess arguments: cc ... bogus