From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/roff/cc/Makefile | 6 ++++++ regress/roff/cc/basic.in | 19 +++++++++++++++++++ regress/roff/cc/basic.out_ascii | 17 +++++++++++++++++ regress/roff/cc/basic.out_lint | 1 + 4 files changed, 43 insertions(+) create mode 100644 regress/roff/cc/Makefile create mode 100644 regress/roff/cc/basic.in create mode 100644 regress/roff/cc/basic.out_ascii create mode 100644 regress/roff/cc/basic.out_lint (limited to 'regress/roff/cc') 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 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 -- cgit v1.2.3-56-ge451