summaryrefslogtreecommitdiffstats
path: root/regress/roff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:45:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:45:05 +0000
commita5a030b2a85c4c47900de8929746330fe2f1aee5 (patch)
tree9cd7be2fba665301b1ae74a9ecbc2d14be5d9412 /regress/roff
parentb96c4feac3240b0841c9ecf67b07da0607aa27b5 (diff)
downloadmandoc-a5a030b2a85c4c47900de8929746330fe2f1aee5.tar.gz
Style message about legacy man(7) date format in mdoc(7) documents
and operating system dependent messages about missing or unexpected Mdocdate; inspired by mdoclint(1).
Diffstat (limited to 'regress/roff')
-rw-r--r--regress/roff/args/mdoc.out_lint1
-rw-r--r--regress/roff/de/escname.out_lint1
-rw-r--r--regress/roff/de/indir.out_lint1
-rw-r--r--regress/roff/de/infinite.out_lint1
-rw-r--r--regress/roff/esc/B.out_lint1
-rw-r--r--regress/roff/esc/h.out_lint1
-rw-r--r--regress/roff/esc/ignore.out_lint1
-rw-r--r--regress/roff/esc/w.out_lint1
-rw-r--r--regress/roff/ft/badargs-mdoc.out_lint1
-rw-r--r--regress/roff/ig/basic.out_lint1
-rw-r--r--regress/roff/it/badarg.out_lint1
-rw-r--r--regress/roff/string/name.out_lint1
12 files changed, 12 insertions, 0 deletions
diff --git a/regress/roff/args/mdoc.out_lint b/regress/roff/args/mdoc.out_lint
index a622c6c7..a9b014fc 100644
--- a/regress/roff/args/mdoc.out_lint
+++ b/regress/roff/args/mdoc.out_lint
@@ -11,3 +11,4 @@ mandoc: mdoc.in:107:14: WARNING: unterminated quoted argument
mandoc: mdoc.in:111:11: WARNING: unterminated quoted argument
mandoc: mdoc.in:112:15: WARNING: unterminated quoted argument
mandoc: mdoc.in:120:1: ERROR: escaped character not allowed in a name: Fl\(
+mandoc: mdoc.in:1:5: STYLE: Mdocdate missing: Dd November
diff --git a/regress/roff/de/escname.out_lint b/regress/roff/de/escname.out_lint
index f0fd2109..eb454210 100644
--- a/regress/roff/de/escname.out_lint
+++ b/regress/roff/de/escname.out_lint
@@ -6,3 +6,4 @@ mandoc: escname.in:37:5: ERROR: skipping excess arguments: .de ... excess argume
mandoc: escname.in:40:1: ERROR: escaped character not allowed in a name: witharg\(
mandoc: escname.in:42:1: ERROR: escaped character not allowed in a name: de\e
mandoc: escname.in:42:2: WARNING: skipping empty request: de
+mandoc: escname.in:1:5: STYLE: Mdocdate missing: Dd June
diff --git a/regress/roff/de/indir.out_lint b/regress/roff/de/indir.out_lint
index 96f42d1d..5cb1bd84 100644
--- a/regress/roff/de/indir.out_lint
+++ b/regress/roff/de/indir.out_lint
@@ -2,3 +2,4 @@ mandoc: indir.in:18:11: WARNING: undefined string, using "": myie
mandoc: indir.in:25:6: WARNING: undefined string, using "": myim
mandoc: indir.in:25:2: WARNING: skipping empty request: dei
mandoc: indir.in:29:2: WARNING: skipping empty request: dei
+mandoc: indir.in:1:5: STYLE: Mdocdate missing: Dd July
diff --git a/regress/roff/de/infinite.out_lint b/regress/roff/de/infinite.out_lint
index 7cea727c..59a19713 100644
--- a/regress/roff/de/infinite.out_lint
+++ b/regress/roff/de/infinite.out_lint
@@ -1,2 +1,3 @@
mandoc: infinite.in:13:5: ERROR: input stack limit exceeded, infinite loop?
mandoc: infinite.in:19:5: ERROR: input stack limit exceeded, infinite loop?
+mandoc: infinite.in:1:5: STYLE: Mdocdate missing: Dd March
diff --git a/regress/roff/esc/B.out_lint b/regress/roff/esc/B.out_lint
index 6159b1c5..f7ddc99f 100644
--- a/regress/roff/esc/B.out_lint
+++ b/regress/roff/esc/B.out_lint
@@ -1 +1,2 @@
mandoc: B.in:36:23: WARNING: invalid escape sequence: \B'1+1
+mandoc: B.in:1:5: STYLE: Mdocdate missing: Dd July
diff --git a/regress/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint
index 6d591e38..6e2eb342 100644
--- a/regress/roff/esc/h.out_lint
+++ b/regress/roff/esc/h.out_lint
@@ -1 +1,2 @@
mandoc: h.in:18:21: WARNING: invalid escape sequence: \h-
+mandoc: h.in:1:5: STYLE: Mdocdate missing: Dd May
diff --git a/regress/roff/esc/ignore.out_lint b/regress/roff/esc/ignore.out_lint
index c163d60d..688685f5 100644
--- a/regress/roff/esc/ignore.out_lint
+++ b/regress/roff/esc/ignore.out_lint
@@ -1 +1,2 @@
mandoc: ignore.in:14:60: WARNING: invalid escape sequence: \s-
+mandoc: ignore.in:1:5: STYLE: Mdocdate missing: Dd January
diff --git a/regress/roff/esc/w.out_lint b/regress/roff/esc/w.out_lint
index a1b91722..1dc300e0 100644
--- a/regress/roff/esc/w.out_lint
+++ b/regress/roff/esc/w.out_lint
@@ -1 +1,2 @@
mandoc: w.in:16:15: WARNING: invalid escape sequence: \w'foo
+mandoc: w.in:1:5: STYLE: Mdocdate missing: Dd April
diff --git a/regress/roff/ft/badargs-mdoc.out_lint b/regress/roff/ft/badargs-mdoc.out_lint
index d5f526e6..d3da07f6 100644
--- a/regress/roff/ft/badargs-mdoc.out_lint
+++ b/regress/roff/ft/badargs-mdoc.out_lint
@@ -1,2 +1,3 @@
mandoc: badargs-mdoc.in:13:7: ERROR: skipping excess arguments: ft ... bogus
+mandoc: badargs-mdoc.in:1:5: STYLE: Mdocdate missing: Dd May
mandoc: badargs-mdoc.in:11:2: WARNING: unknown font, skipping request: ft foo
diff --git a/regress/roff/ig/basic.out_lint b/regress/roff/ig/basic.out_lint
index 7c068e87..026e3726 100644
--- a/regress/roff/ig/basic.out_lint
+++ b/regress/roff/ig/basic.out_lint
@@ -1,3 +1,4 @@
mandoc: basic.in:19:5: ERROR: skipping excess arguments: .ig ... excess
mandoc: basic.in:24:2: ERROR: skipping end of block that is not open: ..
mandoc: basic.in:26:2: ERROR: appending missing end of block: ig
+mandoc: basic.in:1:5: STYLE: Mdocdate missing: Dd July
diff --git a/regress/roff/it/badarg.out_lint b/regress/roff/it/badarg.out_lint
index ac526c6b..c553000b 100644
--- a/regress/roff/it/badarg.out_lint
+++ b/regress/roff/it/badarg.out_lint
@@ -1,2 +1,3 @@
mandoc: badarg.in:12:2: ERROR: skipping request without numeric argument: it mytrap
mandoc: badarg.in:15:2: ERROR: skipping request without numeric argument: it
+mandoc: badarg.in:1:5: STYLE: Mdocdate missing: Dd July
diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint
index c4c757f5..1468df4b 100644
--- a/regress/roff/string/name.out_lint
+++ b/regress/roff/string/name.out_lint
@@ -15,3 +15,4 @@ mandoc: name.in:33:6: WARNING: undefined string, using "": ble
mandoc: name.in:33:5: WARNING: whitespace at end of input line
mandoc: name.in:35:5: WARNING: undefined string, using "": bl
mandoc: name.in:35:4: WARNING: whitespace at end of input line
+mandoc: name.in:1:5: STYLE: Mdocdate missing: Dd January