summaryrefslogtreecommitdiffstats
path: root/regress/roff/string
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/roff/string
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/roff/string')
-rw-r--r--regress/roff/string/escape.in3
-rw-r--r--regress/roff/string/infinite.in3
-rw-r--r--regress/roff/string/name.in5
-rw-r--r--regress/roff/string/name.out_ascii2
-rw-r--r--regress/roff/string/name.out_lint37
-rw-r--r--regress/roff/string/std.in3
-rw-r--r--regress/roff/string/std.out_lint5
-rw-r--r--regress/roff/string/zerolength.in3
8 files changed, 31 insertions, 30 deletions
diff --git a/regress/roff/string/escape.in b/regress/roff/string/escape.in
index 6f31ccb0..339611e8 100644
--- a/regress/roff/string/escape.in
+++ b/regress/roff/string/escape.in
@@ -1,4 +1,5 @@
-.TH STRING-ESCAPE 1 "December 3, 2010" OpenBSD
+.\" $OpenBSD: escape.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
+.TH STRING-ESCAPE 1 "December 3, 2010"
.SH NAME
string-escape - preventing string interpolation
.SH DESCRIPTION
diff --git a/regress/roff/string/infinite.in b/regress/roff/string/infinite.in
index e16c527d..c79b4bda 100644
--- a/regress/roff/string/infinite.in
+++ b/regress/roff/string/infinite.in
@@ -1,4 +1,5 @@
-.TH STRING-INFINITE 1 "December 3, 2010" OpenBSD
+.\" $OpenBSD: infinite.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
+.TH STRING-INFINITE 1 "December 3, 2010"
.SH NAME
string-infinite - endless recursion in string expansion
.SH DESCRIPTION
diff --git a/regress/roff/string/name.in b/regress/roff/string/name.in
index a2a524a4..8e872529 100644
--- a/regress/roff/string/name.in
+++ b/regress/roff/string/name.in
@@ -1,6 +1,7 @@
-.Dd January 10, 2011
+.\" $OpenBSD: name.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $
+.Dd $Mdocdate$
.Dt STRING-NAME 1
-.Os OpenBSD
+.Os
.Sh NAME
.Nm string-name
.Nd torturing .ds with weird string names
diff --git a/regress/roff/string/name.out_ascii b/regress/roff/string/name.out_ascii
index 45ebba19..325e28aa 100644
--- a/regress/roff/string/name.out_ascii
+++ b/regress/roff/string/name.out_ascii
@@ -15,4 +15,4 @@ DDEESSCCRRIIPPTTIIOONN
ble:
bl:
-OpenBSD January 10, 2011 OpenBSD
+OpenBSD July 4, 2017 OpenBSD
diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint
index af4b9835..39260cde 100644
--- a/regress/roff/string/name.out_lint
+++ b/regress/roff/string/name.out_lint
@@ -1,20 +1,17 @@
-mandoc: name.in:10:5: ERROR: escaped character not allowed in a name: bs\e
-mandoc: name.in:12:5: ERROR: escaped character not allowed in a name: bl\
-mandoc: name.in:15:29: WARNING: invalid escape sequence: \*[norm
-mandoc: name.in:15:29: WARNING: undefined string, using "": norm
-mandoc: name.in:15:28: WARNING: whitespace at end of input line
-mandoc: name.in:17:7: WARNING: undefined string, using "": quot
-mandoc: name.in:17:6: WARNING: whitespace at end of input line
-mandoc: name.in:25:6: WARNING: undefined string, using "": bse
-mandoc: name.in:25:5: WARNING: whitespace at end of input line
-mandoc: name.in:27:5: WARNING: undefined string, using "": bs
-mandoc: name.in:27:4: WARNING: whitespace at end of input line
-mandoc: name.in:31:7: WARNING: undefined string, using "": bl e
-mandoc: name.in:31:6: WARNING: whitespace at end of input line
-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:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD)
-mandoc: name.in:1:5: BASE: Mdocdate missing: Dd January (OpenBSD)
-mandoc: name.in: BASE: RCS id missing: (OpenBSD)
+mandoc: name.in:11:5: ERROR: escaped character not allowed in a name: bs\e
+mandoc: name.in:13:5: ERROR: escaped character not allowed in a name: bl\
+mandoc: name.in:16:29: WARNING: invalid escape sequence: \*[norm
+mandoc: name.in:16:29: WARNING: undefined string, using "": norm
+mandoc: name.in:16:28: WARNING: whitespace at end of input line
+mandoc: name.in:18:7: WARNING: undefined string, using "": quot
+mandoc: name.in:18:6: WARNING: whitespace at end of input line
+mandoc: name.in:26:6: WARNING: undefined string, using "": bse
+mandoc: name.in:26:5: WARNING: whitespace at end of input line
+mandoc: name.in:28:5: WARNING: undefined string, using "": bs
+mandoc: name.in:28:4: WARNING: whitespace at end of input line
+mandoc: name.in:32:7: WARNING: undefined string, using "": bl e
+mandoc: name.in:32:6: WARNING: whitespace at end of input line
+mandoc: name.in:34:6: WARNING: undefined string, using "": ble
+mandoc: name.in:34:5: WARNING: whitespace at end of input line
+mandoc: name.in:36:5: WARNING: undefined string, using "": bl
+mandoc: name.in:36:4: WARNING: whitespace at end of input line
diff --git a/regress/roff/string/std.in b/regress/roff/string/std.in
index f460b101..0719b3c4 100644
--- a/regress/roff/string/std.in
+++ b/regress/roff/string/std.in
@@ -1,4 +1,5 @@
-.TH STRING-STD 1 "June 18, 2017" OpenBSD
+.\" $OpenBSD: std.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $
+.TH STRING-STD 1 "June 18, 2017"
.SH NAME
string-std - expanding standard macros as strings
.SH DESCRIPTION
diff --git a/regress/roff/string/std.out_lint b/regress/roff/string/std.out_lint
index 3a746992..95a520ca 100644
--- a/regress/roff/string/std.out_lint
+++ b/regress/roff/string/std.out_lint
@@ -1,3 +1,2 @@
-mandoc: std.in:6:4: WARNING: undefined string, using "": DT
-mandoc: std.in:10:4: WARNING: undefined string, using "": myname
-mandoc: std.in: BASE: RCS id missing: (OpenBSD)
+mandoc: std.in:7:4: WARNING: undefined string, using "": DT
+mandoc: std.in:11:4: WARNING: undefined string, using "": myname
diff --git a/regress/roff/string/zerolength.in b/regress/roff/string/zerolength.in
index d0d3217d..4bab6df5 100644
--- a/regress/roff/string/zerolength.in
+++ b/regress/roff/string/zerolength.in
@@ -1,4 +1,5 @@
-.TH STRING-ZEROLENGTH 1 "December 19, 2010" OpenBSD
+.\" $OpenBSD: zerolength.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
+.TH STRING-ZEROLENGTH 1 "December 19, 2010"
.SH NAME
string-zerolength - handling of zero-length user-defined strings
.SH DESCRIPTION