summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Dd
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-04 15:24:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-04 15:24:36 +0000
commit2ab7deeb36296dfb6dee301dc3560af24219a22f (patch)
tree4bc8a91cabb31cc075ec6a68a99c34ef3bd823f8 /regress/mdoc/Dd
parent75fcdc8f6e5fb48e822f9835879d7bfbfcddab03 (diff)
downloadmandoc-2ab7deeb36296dfb6dee301dc3560af24219a22f.tar.gz
Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such churn. Consistently use OpenBSD RCS tags, blank .Os, blank fourth .TH argument, and Mdocdate like everywhere else. Use -Ios=OpenBSD for platform-independent predictable output.
Diffstat (limited to 'regress/mdoc/Dd')
-rw-r--r--regress/mdoc/Dd/badarg.in3
-rw-r--r--regress/mdoc/Dd/badarg.out_lint6
-rw-r--r--regress/mdoc/Dd/dupe.in3
-rw-r--r--regress/mdoc/Dd/dupe.out_lint8
-rw-r--r--regress/mdoc/Dd/late.in3
-rw-r--r--regress/mdoc/Dd/late.out_lint4
-rw-r--r--regress/mdoc/Dd/long.in3
-rw-r--r--regress/mdoc/Dd/long.out_lint6
-rw-r--r--regress/mdoc/Dd/manarg.in3
-rw-r--r--regress/mdoc/Dd/manarg.out_lint6
-rw-r--r--regress/mdoc/Dd/noarg.in3
-rw-r--r--regress/mdoc/Dd/noarg.out_lint4
-rw-r--r--regress/mdoc/Dd/order.in3
-rw-r--r--regress/mdoc/Dd/order.out_lint6
14 files changed, 27 insertions, 34 deletions
diff --git a/regress/mdoc/Dd/badarg.in b/regress/mdoc/Dd/badarg.in
index 9891fc4e..07cfe13e 100644
--- a/regress/mdoc/Dd/badarg.in
+++ b/regress/mdoc/Dd/badarg.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: badarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dd "bad date"
.Dt DD-BADARG 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-badarg
.Nd date cannot be parsed
diff --git a/regress/mdoc/Dd/badarg.out_lint b/regress/mdoc/Dd/badarg.out_lint
index d4b4a3f9..f463d775 100644
--- a/regress/mdoc/Dd/badarg.out_lint
+++ b/regress/mdoc/Dd/badarg.out_lint
@@ -1,4 +1,2 @@
-mandoc: badarg.in:1:2: WARNING: cannot parse date, using it verbatim: bad date
-mandoc: badarg.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: badarg.in:1:5: BASE: Mdocdate missing: Dd bad date (OpenBSD)
-mandoc: badarg.in: BASE: RCS id missing: (OpenBSD)
+mandoc: badarg.in:2:2: WARNING: cannot parse date, using it verbatim: bad date
+mandoc: badarg.in:2:5: STYLE: Mdocdate missing: Dd bad date (OpenBSD)
diff --git a/regress/mdoc/Dd/dupe.in b/regress/mdoc/Dd/dupe.in
index d1a7f827..b72d955e 100644
--- a/regress/mdoc/Dd/dupe.in
+++ b/regress/mdoc/Dd/dupe.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: dupe.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dd August 1, 2014
.Dt DD-DUPE 1
-.Os OpenBSD
+.Os
.Dd August 3, 2014
.Sh NAME
.Nm Dd-dupe
diff --git a/regress/mdoc/Dd/dupe.out_lint b/regress/mdoc/Dd/dupe.out_lint
index 33493aaf..faa1f835 100644
--- a/regress/mdoc/Dd/dupe.out_lint
+++ b/regress/mdoc/Dd/dupe.out_lint
@@ -1,5 +1,3 @@
-mandoc: dupe.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: dupe.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD)
-mandoc: dupe.in:4:2: WARNING: duplicate prologue macro: Dd
-mandoc: dupe.in:10:2: WARNING: duplicate prologue macro: Dd
-mandoc: dupe.in: BASE: RCS id missing: (OpenBSD)
+mandoc: dupe.in:2:5: STYLE: Mdocdate missing: Dd August (OpenBSD)
+mandoc: dupe.in:5:2: WARNING: duplicate prologue macro: Dd
+mandoc: dupe.in:11:2: WARNING: duplicate prologue macro: Dd
diff --git a/regress/mdoc/Dd/late.in b/regress/mdoc/Dd/late.in
index 0a8436fb..36fb527a 100644
--- a/regress/mdoc/Dd/late.in
+++ b/regress/mdoc/Dd/late.in
@@ -1,5 +1,6 @@
+.\" $OpenBSD: late.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dt DD-LATE 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-late
.Nd late date macro
diff --git a/regress/mdoc/Dd/late.out_lint b/regress/mdoc/Dd/late.out_lint
index f038018b..2a8c2a50 100644
--- a/regress/mdoc/Dd/late.out_lint
+++ b/regress/mdoc/Dd/late.out_lint
@@ -1,3 +1 @@
-mandoc: late.in:2:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: late.in:8:2: WARNING: late prologue macro: Dd
-mandoc: late.in: BASE: RCS id missing: (OpenBSD)
+mandoc: late.in:9:2: WARNING: late prologue macro: Dd
diff --git a/regress/mdoc/Dd/long.in b/regress/mdoc/Dd/long.in
index 2538f984..8be2802e 100644
--- a/regress/mdoc/Dd/long.in
+++ b/regress/mdoc/Dd/long.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: long.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dd 1234567890123456789012345678901234567890123456789012345678901234567890123456789
.Dt DD-LONG 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-long
.Nd long date string
diff --git a/regress/mdoc/Dd/long.out_lint b/regress/mdoc/Dd/long.out_lint
index 4b7293af..a189560d 100644
--- a/regress/mdoc/Dd/long.out_lint
+++ b/regress/mdoc/Dd/long.out_lint
@@ -1,4 +1,2 @@
-mandoc: long.in:1:2: WARNING: cannot parse date, using it verbatim: 1234567890123456789012345678901234567890123456789012345678901234567890123456789
-mandoc: long.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: long.in:1:5: BASE: Mdocdate missing: Dd 1234567890123456789012345678901234567890123456789012345678901234567890123456789 (OpenBSD)
-mandoc: long.in: BASE: RCS id missing: (OpenBSD)
+mandoc: long.in:2:2: WARNING: cannot parse date, using it verbatim: 1234567890123456789012345678901234567890123456789012345678901234567890123456789
+mandoc: long.in:2:5: STYLE: Mdocdate missing: Dd 1234567890123456789012345678901234567890123456789012345678901234567890123456789 (OpenBSD)
diff --git a/regress/mdoc/Dd/manarg.in b/regress/mdoc/Dd/manarg.in
index 434a7af8..7082d31b 100644
--- a/regress/mdoc/Dd/manarg.in
+++ b/regress/mdoc/Dd/manarg.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: manarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dd 2014-08-07
.Dt DD-MANARG 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-manarg
.Nd date in traditional man format
diff --git a/regress/mdoc/Dd/manarg.out_lint b/regress/mdoc/Dd/manarg.out_lint
index 56a463be..a8f48f44 100644
--- a/regress/mdoc/Dd/manarg.out_lint
+++ b/regress/mdoc/Dd/manarg.out_lint
@@ -1,4 +1,2 @@
-mandoc: manarg.in:1:2: STYLE: legacy man(7) date format: Dd 2014-08-07
-mandoc: manarg.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: manarg.in:1:5: BASE: Mdocdate missing: Dd 2014-08-07 (OpenBSD)
-mandoc: manarg.in: BASE: RCS id missing: (OpenBSD)
+mandoc: manarg.in:2:2: STYLE: legacy man(7) date format: Dd 2014-08-07
+mandoc: manarg.in:2:5: STYLE: Mdocdate missing: Dd 2014-08-07 (OpenBSD)
diff --git a/regress/mdoc/Dd/noarg.in b/regress/mdoc/Dd/noarg.in
index fd904985..18fa2c62 100644
--- a/regress/mdoc/Dd/noarg.in
+++ b/regress/mdoc/Dd/noarg.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dd
.Dt DD-NOARG 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-noarg
.Nd date macro without an argument
diff --git a/regress/mdoc/Dd/noarg.out_lint b/regress/mdoc/Dd/noarg.out_lint
index 92b1cb1b..e6ccd352 100644
--- a/regress/mdoc/Dd/noarg.out_lint
+++ b/regress/mdoc/Dd/noarg.out_lint
@@ -1,3 +1 @@
-mandoc: noarg.in:1:2: WARNING: missing date, using today's date
-mandoc: noarg.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: noarg.in: BASE: RCS id missing: (OpenBSD)
+mandoc: noarg.in:2:2: WARNING: missing date, using today's date
diff --git a/regress/mdoc/Dd/order.in b/regress/mdoc/Dd/order.in
index e3872cbb..5572e834 100644
--- a/regress/mdoc/Dd/order.in
+++ b/regress/mdoc/Dd/order.in
@@ -1,6 +1,7 @@
+.\" $OpenBSD: order.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $
.Dt DD-ORDER 1
.Dd August 5, 2014
-.Os OpenBSD
+.Os
.Sh NAME
.Nm Dd-order
.Nd date macro after title macro
diff --git a/regress/mdoc/Dd/order.out_lint b/regress/mdoc/Dd/order.out_lint
index 4f09786a..4eb9d3bd 100644
--- a/regress/mdoc/Dd/order.out_lint
+++ b/regress/mdoc/Dd/order.out_lint
@@ -1,4 +1,2 @@
-mandoc: order.in:2:2: WARNING: prologue macros out of order: Dd after Dt
-mandoc: order.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: order.in:2:5: BASE: Mdocdate missing: Dd August (OpenBSD)
-mandoc: order.in: BASE: RCS id missing: (OpenBSD)
+mandoc: order.in:3:2: WARNING: prologue macros out of order: Dd after Dt
+mandoc: order.in:3:5: STYLE: Mdocdate missing: Dd August (OpenBSD)