aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Sh
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
commit34fb40c0df98b465f02096b0cffebc4515115526 (patch)
tree5b74d643ea12d112c8ad14ab097094eb21a4bee6 /regress/mdoc/Sh
parent565360053d62a3b5df9e9ccc0926c3e6340fef63 (diff)
downloadmandoc-34fb40c0df98b465f02096b0cffebc4515115526.tar.gz
mandoc-34fb40c0df98b465f02096b0cffebc4515115526.tar.zst
mandoc-34fb40c0df98b465f02096b0cffebc4515115526.zip
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/mdoc/Sh')
-rw-r--r--regress/mdoc/Sh/badNAME.out_lint1
-rw-r--r--regress/mdoc/Sh/before.out_lint1
-rw-r--r--regress/mdoc/Sh/empty.out_lint1
-rw-r--r--regress/mdoc/Sh/emptyNAME.out_lint1
-rw-r--r--regress/mdoc/Sh/first.out_lint1
-rw-r--r--regress/mdoc/Sh/nohead.out_lint1
-rw-r--r--regress/mdoc/Sh/order.out_lint1
-rw-r--r--regress/mdoc/Sh/orderNAME.out_lint1
-rw-r--r--regress/mdoc/Sh/parbefore.out_lint1
-rw-r--r--regress/mdoc/Sh/parborder.out_lint1
-rw-r--r--regress/mdoc/Sh/punctNAME.out_lint1
-rw-r--r--regress/mdoc/Sh/subbefore.out_lint1
12 files changed, 12 insertions, 0 deletions
diff --git a/regress/mdoc/Sh/badNAME.out_lint b/regress/mdoc/Sh/badNAME.out_lint
index 9fbbf668..9f008a18 100644
--- a/regress/mdoc/Sh/badNAME.out_lint
+++ b/regress/mdoc/Sh/badNAME.out_lint
@@ -1,2 +1,3 @@
+mandoc: badNAME.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: badNAME.in:5:2: WARNING: bad NAME section content: Em
mandoc: badNAME.in:4:2: WARNING: NAME section without description
diff --git a/regress/mdoc/Sh/before.out_lint b/regress/mdoc/Sh/before.out_lint
index 314acb29..7cfe763e 100644
--- a/regress/mdoc/Sh/before.out_lint
+++ b/regress/mdoc/Sh/before.out_lint
@@ -1 +1,2 @@
+mandoc: before.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: before.in:4:1: WARNING: content before first section header: text
diff --git a/regress/mdoc/Sh/empty.out_lint b/regress/mdoc/Sh/empty.out_lint
index 28d05c97..1672d581 100644
--- a/regress/mdoc/Sh/empty.out_lint
+++ b/regress/mdoc/Sh/empty.out_lint
@@ -1 +1,2 @@
mandoc: empty.in:9:2: ERROR: inserting missing end of block: Sh breaks Xo
+mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd November
diff --git a/regress/mdoc/Sh/emptyNAME.out_lint b/regress/mdoc/Sh/emptyNAME.out_lint
index c6da49bb..45804744 100644
--- a/regress/mdoc/Sh/emptyNAME.out_lint
+++ b/regress/mdoc/Sh/emptyNAME.out_lint
@@ -1,2 +1,3 @@
+mandoc: emptyNAME.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: emptyNAME.in:4:2: WARNING: NAME section without Nm before Nd
mandoc: emptyNAME.in:4:2: WARNING: NAME section without description
diff --git a/regress/mdoc/Sh/first.out_lint b/regress/mdoc/Sh/first.out_lint
index df39e0d0..c19ec77d 100644
--- a/regress/mdoc/Sh/first.out_lint
+++ b/regress/mdoc/Sh/first.out_lint
@@ -1 +1,2 @@
+mandoc: first.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: first.in:4:2: WARNING: first section is not "NAME": Sh DESCRIPTION
diff --git a/regress/mdoc/Sh/nohead.out_lint b/regress/mdoc/Sh/nohead.out_lint
index b93f65e6..78e046c6 100644
--- a/regress/mdoc/Sh/nohead.out_lint
+++ b/regress/mdoc/Sh/nohead.out_lint
@@ -1,2 +1,3 @@
mandoc: nohead.in:9:2: WARNING: skipping empty macro: Sh
mandoc: nohead.in:11:2: WARNING: skipping empty macro: Ss
+mandoc: nohead.in:1:5: STYLE: Mdocdate missing: Dd February
diff --git a/regress/mdoc/Sh/order.out_lint b/regress/mdoc/Sh/order.out_lint
index 67aa5db8..52f42595 100644
--- a/regress/mdoc/Sh/order.out_lint
+++ b/regress/mdoc/Sh/order.out_lint
@@ -1,3 +1,4 @@
+mandoc: order.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: order.in:9:2: WARNING: sections out of conventional order: Sh SYNOPSIS
mandoc: order.in:10:2: WARNING: duplicate section title: Sh SYNOPSIS
mandoc: order.in:11:2: WARNING: unexpected section: Sh ERRORS for 2, 3, 4, 9 only
diff --git a/regress/mdoc/Sh/orderNAME.out_lint b/regress/mdoc/Sh/orderNAME.out_lint
index 0049023d..5b3a88cd 100644
--- a/regress/mdoc/Sh/orderNAME.out_lint
+++ b/regress/mdoc/Sh/orderNAME.out_lint
@@ -1,2 +1,3 @@
+mandoc: orderNAME.in:1:5: STYLE: Mdocdate missing: Dd January
mandoc: orderNAME.in:5:2: WARNING: description not at the end of NAME
mandoc: orderNAME.in:4:2: WARNING: NAME section without Nm before Nd
diff --git a/regress/mdoc/Sh/parbefore.out_lint b/regress/mdoc/Sh/parbefore.out_lint
index fcb61942..86e6c69d 100644
--- a/regress/mdoc/Sh/parbefore.out_lint
+++ b/regress/mdoc/Sh/parbefore.out_lint
@@ -1 +1,2 @@
+mandoc: parbefore.in:1:5: STYLE: Mdocdate missing: Dd April
mandoc: parbefore.in:4:2: WARNING: skipping paragraph macro: Pp before Sh
diff --git a/regress/mdoc/Sh/parborder.out_lint b/regress/mdoc/Sh/parborder.out_lint
index cd6c5c23..60404cab 100644
--- a/regress/mdoc/Sh/parborder.out_lint
+++ b/regress/mdoc/Sh/parborder.out_lint
@@ -1,3 +1,4 @@
+mandoc: parborder.in:1:5: STYLE: Mdocdate missing: Dd April
mandoc: parborder.in:8:2: WARNING: skipping paragraph macro: Pp after Sh
mandoc: parborder.in:10:2: WARNING: skipping paragraph macro: Pp at the end of Sh
mandoc: parborder.in:12:2: WARNING: skipping paragraph macro: Pp after Sh
diff --git a/regress/mdoc/Sh/punctNAME.out_lint b/regress/mdoc/Sh/punctNAME.out_lint
index 9ed95e4e..36ea06c2 100644
--- a/regress/mdoc/Sh/punctNAME.out_lint
+++ b/regress/mdoc/Sh/punctNAME.out_lint
@@ -1,3 +1,4 @@
+mandoc: punctNAME.in:1:5: STYLE: Mdocdate missing: Dd January
mandoc: punctNAME.in:6:2: WARNING: missing comma before name: Nm second_name
mandoc: punctNAME.in:6:17: WARNING: bad NAME section content: text
mandoc: punctNAME.in:7:2: WARNING: missing comma before name: Nm third_name
diff --git a/regress/mdoc/Sh/subbefore.out_lint b/regress/mdoc/Sh/subbefore.out_lint
index fd497d25..7200899f 100644
--- a/regress/mdoc/Sh/subbefore.out_lint
+++ b/regress/mdoc/Sh/subbefore.out_lint
@@ -1 +1,2 @@
+mandoc: subbefore.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: subbefore.in:4:2: WARNING: content before first section header: Ss