summaryrefslogtreecommitdiffstats
path: root/regress/roff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-17 22:45:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-17 22:45:45 +0000
commitfa0774eefa46d6a2984ff675493f30dfc41f1a8a (patch)
treea445da3ff94234225b277ac3023792547373d48c /regress/roff
parent959e13946ac72fdcc61b9786185c99495d11f1db (diff)
downloadmandoc-fa0774eefa46d6a2984ff675493f30dfc41f1a8a.tar.gz
style message about missing RCS ids; inspired by mdoclint
Diffstat (limited to 'regress/roff')
-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/l.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/ft/badargs.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/nr/divzero.out_lint1
-rw-r--r--regress/roff/nr/escname.out_lint1
-rw-r--r--regress/roff/sp/badargs-man.out_lint1
-rw-r--r--regress/roff/string/escape.in2
-rw-r--r--regress/roff/string/escape.out_ascii2
-rw-r--r--regress/roff/string/name.out_lint1
-rw-r--r--regress/roff/string/zerolength.in2
-rw-r--r--regress/roff/string/zerolength.out_ascii2
-rw-r--r--regress/roff/tr/args.out_lint1
21 files changed, 21 insertions, 4 deletions
diff --git a/regress/roff/de/escname.out_lint b/regress/roff/de/escname.out_lint
index eb454210..8805b9d5 100644
--- a/regress/roff/de/escname.out_lint
+++ b/regress/roff/de/escname.out_lint
@@ -7,3 +7,4 @@ 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
+mandoc: escname.in: STYLE: RCS id missing
diff --git a/regress/roff/de/indir.out_lint b/regress/roff/de/indir.out_lint
index 5cb1bd84..ef900e60 100644
--- a/regress/roff/de/indir.out_lint
+++ b/regress/roff/de/indir.out_lint
@@ -3,3 +3,4 @@ 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
+mandoc: indir.in: STYLE: RCS id missing
diff --git a/regress/roff/de/infinite.out_lint b/regress/roff/de/infinite.out_lint
index 59a19713..2102dbd2 100644
--- a/regress/roff/de/infinite.out_lint
+++ b/regress/roff/de/infinite.out_lint
@@ -1,3 +1,4 @@
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
+mandoc: infinite.in: STYLE: RCS id missing
diff --git a/regress/roff/esc/B.out_lint b/regress/roff/esc/B.out_lint
index f7ddc99f..0bd7be65 100644
--- a/regress/roff/esc/B.out_lint
+++ b/regress/roff/esc/B.out_lint
@@ -1,2 +1,3 @@
mandoc: B.in:36:23: WARNING: invalid escape sequence: \B'1+1
mandoc: B.in:1:5: STYLE: Mdocdate missing: Dd July
+mandoc: B.in: STYLE: RCS id missing
diff --git a/regress/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint
index 23ff9ce8..5a12330d 100644
--- a/regress/roff/esc/h.out_lint
+++ b/regress/roff/esc/h.out_lint
@@ -1,2 +1,3 @@
mandoc: h.in:22:21: WARNING: invalid escape sequence: \h-
mandoc: h.in:1:5: STYLE: Mdocdate missing: Dd May
+mandoc: h.in: STYLE: RCS id missing
diff --git a/regress/roff/esc/ignore.out_lint b/regress/roff/esc/ignore.out_lint
index 688685f5..38541635 100644
--- a/regress/roff/esc/ignore.out_lint
+++ b/regress/roff/esc/ignore.out_lint
@@ -1,2 +1,3 @@
mandoc: ignore.in:14:60: WARNING: invalid escape sequence: \s-
mandoc: ignore.in:1:5: STYLE: Mdocdate missing: Dd January
+mandoc: ignore.in: STYLE: RCS id missing
diff --git a/regress/roff/esc/l.out_lint b/regress/roff/esc/l.out_lint
index 2141ef41..b755b42a 100644
--- a/regress/roff/esc/l.out_lint
+++ b/regress/roff/esc/l.out_lint
@@ -1,2 +1,3 @@
mandoc: l.in:22:21: WARNING: invalid escape sequence: \h-
mandoc: l.in:1:5: STYLE: Mdocdate missing: Dd June
+mandoc: l.in: STYLE: RCS id missing
diff --git a/regress/roff/esc/w.out_lint b/regress/roff/esc/w.out_lint
index 1dc300e0..89073dc7 100644
--- a/regress/roff/esc/w.out_lint
+++ b/regress/roff/esc/w.out_lint
@@ -1,2 +1,3 @@
mandoc: w.in:16:15: WARNING: invalid escape sequence: \w'foo
mandoc: w.in:1:5: STYLE: Mdocdate missing: Dd April
+mandoc: w.in: STYLE: RCS id missing
diff --git a/regress/roff/ft/badargs-mdoc.out_lint b/regress/roff/ft/badargs-mdoc.out_lint
index d3da07f6..32f62e21 100644
--- a/regress/roff/ft/badargs-mdoc.out_lint
+++ b/regress/roff/ft/badargs-mdoc.out_lint
@@ -1,3 +1,4 @@
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
+mandoc: badargs-mdoc.in: STYLE: RCS id missing
diff --git a/regress/roff/ft/badargs.out_lint b/regress/roff/ft/badargs.out_lint
index f84d7ea9..2def370d 100644
--- a/regress/roff/ft/badargs.out_lint
+++ b/regress/roff/ft/badargs.out_lint
@@ -1,2 +1,3 @@
mandoc: badargs.in:10:7: ERROR: skipping excess arguments: ft ... bogus
mandoc: badargs.in:8:2: WARNING: unknown font, skipping request: ft foo
+mandoc: badargs.in: STYLE: RCS id missing
diff --git a/regress/roff/ig/basic.out_lint b/regress/roff/ig/basic.out_lint
index 026e3726..fad0e38f 100644
--- a/regress/roff/ig/basic.out_lint
+++ b/regress/roff/ig/basic.out_lint
@@ -2,3 +2,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
+mandoc: basic.in: STYLE: RCS id missing
diff --git a/regress/roff/it/badarg.out_lint b/regress/roff/it/badarg.out_lint
index c553000b..1c5bc812 100644
--- a/regress/roff/it/badarg.out_lint
+++ b/regress/roff/it/badarg.out_lint
@@ -1,3 +1,4 @@
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
+mandoc: badarg.in: STYLE: RCS id missing
diff --git a/regress/roff/nr/divzero.out_lint b/regress/roff/nr/divzero.out_lint
index 8177c0b8..255f24f7 100644
--- a/regress/roff/nr/divzero.out_lint
+++ b/regress/roff/nr/divzero.out_lint
@@ -1,2 +1,3 @@
mandoc: divzero.in:6:4: ERROR: divide by zero: 1/0
mandoc: divzero.in:7:4: ERROR: divide by zero: 1%0
+mandoc: divzero.in: STYLE: RCS id missing
diff --git a/regress/roff/nr/escname.out_lint b/regress/roff/nr/escname.out_lint
index 66bfad35..58188fd4 100644
--- a/regress/roff/nr/escname.out_lint
+++ b/regress/roff/nr/escname.out_lint
@@ -2,3 +2,4 @@ mandoc: escname.in:8:5: ERROR: escaped character not allowed in a name: first\e
mandoc: escname.in:11:5: ERROR: escaped character not allowed in a name: first\e
mandoc: escname.in:17:13: WARNING: invalid escape sequence: \n[second
mandoc: escname.in:17:12: WARNING: whitespace at end of input line
+mandoc: escname.in: STYLE: RCS id missing
diff --git a/regress/roff/sp/badargs-man.out_lint b/regress/roff/sp/badargs-man.out_lint
index d38502dd..35e0826d 100644
--- a/regress/roff/sp/badargs-man.out_lint
+++ b/regress/roff/sp/badargs-man.out_lint
@@ -1 +1,2 @@
mandoc: badargs-man.in:10:8: ERROR: skipping excess arguments: sp ... 2i
+mandoc: badargs-man.in: STYLE: RCS id missing
diff --git a/regress/roff/string/escape.in b/regress/roff/string/escape.in
index 05a271e8..6f31ccb0 100644
--- a/regress/roff/string/escape.in
+++ b/regress/roff/string/escape.in
@@ -1,4 +1,4 @@
-.TH STRING-ESCAPE 1 "December 3, 2010"
+.TH STRING-ESCAPE 1 "December 3, 2010" OpenBSD
.SH NAME
string-escape - preventing string interpolation
.SH DESCRIPTION
diff --git a/regress/roff/string/escape.out_ascii b/regress/roff/string/escape.out_ascii
index fc8021aa..8b00abaf 100644
--- a/regress/roff/string/escape.out_ascii
+++ b/regress/roff/string/escape.out_ascii
@@ -28,4 +28,4 @@ DDEESSCCRRIIPPTTIIOONN
- December 3, 2010 STRING-ESCAPE(1)
+OpenBSD December 3, 2010 STRING-ESCAPE(1)
diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint
index 1468df4b..ac57dd12 100644
--- a/regress/roff/string/name.out_lint
+++ b/regress/roff/string/name.out_lint
@@ -16,3 +16,4 @@ 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
+mandoc: name.in: STYLE: RCS id missing
diff --git a/regress/roff/string/zerolength.in b/regress/roff/string/zerolength.in
index 0d4d9bac..d0d3217d 100644
--- a/regress/roff/string/zerolength.in
+++ b/regress/roff/string/zerolength.in
@@ -1,4 +1,4 @@
-.TH STRING-ZEROLENGTH 1 "December 19, 2010"
+.TH STRING-ZEROLENGTH 1 "December 19, 2010" OpenBSD
.SH NAME
string-zerolength - handling of zero-length user-defined strings
.SH DESCRIPTION
diff --git a/regress/roff/string/zerolength.out_ascii b/regress/roff/string/zerolength.out_ascii
index ff9d2473..5ab80c5d 100644
--- a/regress/roff/string/zerolength.out_ascii
+++ b/regress/roff/string/zerolength.out_ascii
@@ -12,4 +12,4 @@ DDEESSCCRRIIPPTTIIOONN
- December 19, 2010 STRING-ZEROLENGTH(1)
+OpenBSD December 19, 2010 STRING-ZEROLENGTH(1)
diff --git a/regress/roff/tr/args.out_lint b/regress/roff/tr/args.out_lint
index e2883ef7..82d5963a 100644
--- a/regress/roff/tr/args.out_lint
+++ b/regress/roff/tr/args.out_lint
@@ -1,3 +1,4 @@
mandoc: args.in:6:2: WARNING: skipping empty request: tr
mandoc: args.in:8:5: WARNING: odd number of characters in request: tr x
mandoc: args.in:14:7: WARNING: odd number of characters in request: tr z
+mandoc: args.in: STYLE: RCS id missing