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/mdoc/At/Makefile | 6 ++++++ regress/mdoc/At/invalid.in | 17 +++++++++++++++++ regress/mdoc/At/invalid.out_ascii | 15 +++++++++++++++ regress/mdoc/At/invalid.out_lint | 1 + 4 files changed, 39 insertions(+) create mode 100644 regress/mdoc/At/Makefile create mode 100644 regress/mdoc/At/invalid.in create mode 100644 regress/mdoc/At/invalid.out_ascii create mode 100644 regress/mdoc/At/invalid.out_lint (limited to 'regress/mdoc/At') diff --git a/regress/mdoc/At/Makefile b/regress/mdoc/At/Makefile new file mode 100644 index 00000000..6c362995 --- /dev/null +++ b/regress/mdoc/At/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/07/05 12:33:54 schwarze Exp $ + +REGRESS_TARGETS = invalid +LINT_TARGETS = invalid + +.include diff --git a/regress/mdoc/At/invalid.in b/regress/mdoc/At/invalid.in new file mode 100644 index 00000000..8e7d9ce5 --- /dev/null +++ b/regress/mdoc/At/invalid.in @@ -0,0 +1,17 @@ +.Dd June 30, 2010 +.Dt AT-INVALID 1 +.Os OpenBSD +.Sh NAME +.Nm At-invalid +.Nd handling of an invalid AT&T UNIX argument +.Sh DESCRIPTION +no argument: +.At +.Pp +valid argument: +.At v7 +.Pp +invalid argument: +.At murks +.Pp +end of file diff --git a/regress/mdoc/At/invalid.out_ascii b/regress/mdoc/At/invalid.out_ascii new file mode 100644 index 00000000..c1cab598 --- /dev/null +++ b/regress/mdoc/At/invalid.out_ascii @@ -0,0 +1,15 @@ +AT-INVALID(1) General Commands Manual AT-INVALID(1) + +NNAAMMEE + AAtt--iinnvvaalliidd - handling of an invalid AT&T UNIX argument + +DDEESSCCRRIIPPTTIIOONN + no argument: AT&T UNIX + + valid argument: Version 7 AT&T UNIX + + invalid argument: AT&T UNIX murks + + end of file + +OpenBSD June 30, 2010 OpenBSD diff --git a/regress/mdoc/At/invalid.out_lint b/regress/mdoc/At/invalid.out_lint new file mode 100644 index 00000000..00744a14 --- /dev/null +++ b/regress/mdoc/At/invalid.out_lint @@ -0,0 +1 @@ +mandoc: invalid.in:15:5: WARNING: unknown AT&T UNIX version: At murks -- cgit v1.2.3-56-ge451