diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-07 18:27:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-07 18:27:37 +0000 |
commit | 0dfc99960bdca3e31faaf1bbb1ab09a6efe9cfab (patch) | |
tree | 252cf9c075a896886d3938ffdfd013f975a15c56 /regress | |
parent | c0a01bbc238f32a30ff7f3e2e8e1f7ba16a9d4f4 (diff) |
Support the .cc request; code by kristaps@, tests by me.
Needed for sqlite3(1) as reported by espie@.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/roff/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/cc/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/cc/basic.in | 19 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/cc/basic.out_ascii | 17 |
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) |