summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/roff/Makefile4
-rw-r--r--regress/usr.bin/mandoc/roff/cc/Makefile5
-rw-r--r--regress/usr.bin/mandoc/roff/cc/basic.in19
-rw-r--r--regress/usr.bin/mandoc/roff/cc/basic.out_ascii17
4 files changed, 43 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/roff/Makefile b/regress/usr.bin/mandoc/roff/Makefile
index 0bdfeb1d61e..a6cdf1a7327 100644
--- a/regress/usr.bin/mandoc/roff/Makefile
+++ b/regress/usr.bin/mandoc/roff/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.10 2012/06/02 23:18:31 schwarze Exp $
+# $OpenBSD: Makefile,v 1.11 2012/07/07 18:27:36 schwarze Exp $
-SUBDIR+= args esc cond string br de na ps rm sp
+SUBDIR+= args esc cond string br cc de na ps rm sp
ascii groff groff-clean obj-clean tman: _SUBDIRUSE
diff --git a/regress/usr.bin/mandoc/roff/cc/Makefile b/regress/usr.bin/mandoc/roff/cc/Makefile
new file mode 100644
index 00000000000..7e8345d7c30
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/cc/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/07/07 18:27:36 schwarze Exp $
+
+REGRESS_TARGETS = basic
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/roff/cc/basic.in b/regress/usr.bin/mandoc/roff/cc/basic.in
new file mode 100644
index 00000000000..5f162ffe6f9
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/cc/basic.in
@@ -0,0 +1,19 @@
+.TH CC-BASIC 1 "July 7, 21012" OpenBSD
+.SH NAME
+cc-basic \- basic usage of the cc request
+.SH DESCRIPTION
+first line
+.br
+second
+.cc :
+line
+:br
+third
+:cc ;
+line
+;br
+fourth
+;cc
+line
+.br
+last line
diff --git a/regress/usr.bin/mandoc/roff/cc/basic.out_ascii b/regress/usr.bin/mandoc/roff/cc/basic.out_ascii
new file mode 100644
index 00000000000..cfcf688ce1f
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/cc/basic.out_ascii
@@ -0,0 +1,17 @@
+CC-BASIC(1) OpenBSD Reference 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, 21012 CC-BASIC(1)