summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/At
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/At')
-rw-r--r--regress/mdoc/At/Makefile6
-rw-r--r--regress/mdoc/At/invalid.in17
-rw-r--r--regress/mdoc/At/invalid.out_ascii15
-rw-r--r--regress/mdoc/At/invalid.out_lint1
4 files changed, 39 insertions, 0 deletions
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 <bsd.regress.mk>
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