diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-12-21 14:55:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-12-21 14:55:59 +0000 |
commit | 16c2b8050bd8d29f97d1c384e9c7e150627e1d22 (patch) | |
tree | 8a5e6119ebd203cce3b5130c560b9be12a72c7bf /regress/usr.bin | |
parent | 408f36d3ae6ec7209494513a3fb5caa2a864dcd0 (diff) |
Rename syntax test of the \O escape sequence (suppress output groff
extension; mandoc only implements syntax checking but ignores the
sequence) to please Bill Gates and didickman@: avoid path names that
only differ by case, like o.in vs. O.in.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O.in | 15 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O.out_lint | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O1.in | 15 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O1.out_ascii (renamed from regress/usr.bin/mandoc/roff/esc/O.out_ascii) | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O1.out_lint | 5 |
6 files changed, 26 insertions, 26 deletions
diff --git a/regress/usr.bin/mandoc/roff/esc/Makefile b/regress/usr.bin/mandoc/roff/esc/Makefile index d691bce7838..8c4fdaba653 100644 --- a/regress/usr.bin/mandoc/roff/esc/Makefile +++ b/regress/usr.bin/mandoc/roff/esc/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.16 2019/01/17 06:29:14 schwarze Exp $ +# $OpenBSD: Makefile,v 1.17 2020/12/21 14:55:58 schwarze Exp $ -REGRESS_TARGETS = one two multi B bs_man bs_mdoc c c_man e f h l O o p w z +REGRESS_TARGETS = one two multi B bs_man bs_mdoc c c_man e f h l O1 o p w z REGRESS_TARGETS += ignore invalid unsupp HTML_TARGETS = f -LINT_TARGETS = B h l O w ignore invalid unsupp +LINT_TARGETS = B h l O1 w ignore invalid unsupp .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/roff/esc/O.in b/regress/usr.bin/mandoc/roff/esc/O.in deleted file mode 100644 index adc35d06f09..00000000000 --- a/regress/usr.bin/mandoc/roff/esc/O.in +++ /dev/null @@ -1,15 +0,0 @@ -.\" $OpenBSD: O.in,v 1.1 2018/12/15 19:30:20 schwarze Exp $ -.TH ESC-O 1 "December 15, 2018" -.SH NAME -esc-O \- escape sequence to suppress output -.SH DESCRIPTION -.nf -O1: a\O1b -O2: a\O2b -O3: a\O3b -O4: a\O4b -O5: a\O5b -O52: a\O(52b -O5n: a\O[5dummy]b -O6: a\O6b -O0: a\O0\&\O1b diff --git a/regress/usr.bin/mandoc/roff/esc/O.out_lint b/regress/usr.bin/mandoc/roff/esc/O.out_lint deleted file mode 100644 index ee91008dd88..00000000000 --- a/regress/usr.bin/mandoc/roff/esc/O.out_lint +++ /dev/null @@ -1,5 +0,0 @@ -mandoc: O.in:11:6: WARNING: invalid escape sequence: \O5 -mandoc: O.in:12:7: WARNING: invalid escape sequence: \O(52 -mandoc: O.in:13:7: UNSUPP: unsupported escape sequence: \O[5dummy] -mandoc: O.in:14:6: WARNING: invalid escape sequence: \O6 -mandoc: O.in:15:6: UNSUPP: unsupported escape sequence: \O0 diff --git a/regress/usr.bin/mandoc/roff/esc/O1.in b/regress/usr.bin/mandoc/roff/esc/O1.in new file mode 100644 index 00000000000..d9150998a24 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/O1.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: O1.in,v 1.1 2020/12/21 14:55:58 schwarze Exp $ +.TH ESC-O1 1 "December 15, 2018" +.SH NAME +esc-O1 \- escape sequence to suppress output +.SH DESCRIPTION +.nf +O1: a\O1b +O2: a\O2b +O3: a\O3b +O4: a\O4b +O5: a\O5b +O52: a\O(52b +O5n: a\O[5dummy]b +O6: a\O6b +O0: a\O0\&\O1b diff --git a/regress/usr.bin/mandoc/roff/esc/O.out_ascii b/regress/usr.bin/mandoc/roff/esc/O1.out_ascii index d2e5668ccb3..790d593d089 100644 --- a/regress/usr.bin/mandoc/roff/esc/O.out_ascii +++ b/regress/usr.bin/mandoc/roff/esc/O1.out_ascii @@ -1,9 +1,9 @@ -ESC-O(1) General Commands Manual ESC-O(1) +ESC-O1(1) General Commands Manual ESC-O1(1) NNAAMMEE - esc-O - escape sequence to suppress output + esc-O1 - escape sequence to suppress output DDEESSCCRRIIPPTTIIOONN O1: ab @@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN -OpenBSD December 15, 2018 ESC-O(1) +OpenBSD December 15, 2018 ESC-O1(1) diff --git a/regress/usr.bin/mandoc/roff/esc/O1.out_lint b/regress/usr.bin/mandoc/roff/esc/O1.out_lint new file mode 100644 index 00000000000..a5b29379bf6 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/O1.out_lint @@ -0,0 +1,5 @@ +mandoc: O1.in:11:6: WARNING: invalid escape sequence: \O5 +mandoc: O1.in:12:7: WARNING: invalid escape sequence: \O(52 +mandoc: O1.in:13:7: UNSUPP: unsupported escape sequence: \O[5dummy] +mandoc: O1.in:14:6: WARNING: invalid escape sequence: \O6 +mandoc: O1.in:15:6: UNSUPP: unsupported escape sequence: \O0 |