diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-02 13:10:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-02 13:10:16 +0000 |
commit | 5c694caec0d0aa501d6545ada0cd52abd7ff6fe6 (patch) | |
tree | 49077f66274a0d4ffbfd2864729e97641d90f1a7 /regress/usr.bin | |
parent | 3bd9dcaec2e1a2a5890b23aa8988eac08f940b68 (diff) |
Disentangle the MANDOCERR_CHILD message, which reported three
completely different things, into three distinct messages.
Also mention the macro names we are talking about.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/noIt.out_lint | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Vt/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Vt/child.in | 15 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Vt/child.out_ascii | 12 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Vt/child.out_lint | 2 |
6 files changed, 39 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/Makefile b/regress/usr.bin/mandoc/mdoc/Bl/Makefile index 4c15cba12f7..68971c97342 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Bl/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.18 2014/07/02 11:42:56 schwarze Exp $ +# $OpenBSD: Makefile,v 1.19 2014/07/02 13:10:15 schwarze Exp $ REGRESS_TARGETS = item inset diag ohang bullet dash enum hang tag REGRESS_TARGETS += column extend nested REGRESS_TARGETS += multitype multitag empty noIt bareTa unclosed break broken -LINT_TARGETS = break broken +LINT_TARGETS = noIt break broken # groff-1.20.1 defects: # - empty lists ruin indentation and sometimes cause empty lines diff --git a/regress/usr.bin/mandoc/mdoc/Bl/noIt.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/noIt.out_lint new file mode 100644 index 00000000000..00f22c91dd1 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Bl/noIt.out_lint @@ -0,0 +1,5 @@ +mandoc: noIt.in:9:1: WARNING: moving content out of list: text +mandoc: noIt.in:10:2: WARNING: moving content out of list: Em +mandoc: noIt.in:15:1: WARNING: moving content out of list: text +mandoc: noIt.in:16:2: WARNING: moving content out of list: Em +mandoc: noIt.in:21:1: WARNING: moving content out of list: text diff --git a/regress/usr.bin/mandoc/mdoc/Vt/Makefile b/regress/usr.bin/mandoc/mdoc/Vt/Makefile index 5e89cf0641c..4522c22c21f 100644 --- a/regress/usr.bin/mandoc/mdoc/Vt/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Vt/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.4 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.5 2014/07/02 13:10:15 schwarze Exp $ -REGRESS_TARGETS = noarg spacing font +REGRESS_TARGETS = noarg spacing font child +LINT_TARGETS = child .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Vt/child.in b/regress/usr.bin/mandoc/mdoc/Vt/child.in new file mode 100644 index 00000000000..a35aa674467 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Vt/child.in @@ -0,0 +1,15 @@ +.Dd July 2, 2014 +.Dt VT-CHILD 1 +.Os OpenBSD +.Sh NAME +.Nm Vt-child +.Nd the variable type macro does not want children +.Sh SYNOPSIS +.Vt extern Sy int Li errno +.Sh DESCRIPTION +various types, for example +.Vt unsigned Sy int , +.Vt long Li int +and +.Vt float , +.Vt double diff --git a/regress/usr.bin/mandoc/mdoc/Vt/child.out_ascii b/regress/usr.bin/mandoc/mdoc/Vt/child.out_ascii new file mode 100644 index 00000000000..c256f2db588 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Vt/child.out_ascii @@ -0,0 +1,12 @@ +VT-CHILD(1) OpenBSD Reference Manual VT-CHILD(1) + +NNAAMMEE + VVtt--cchhiilldd - the variable type macro does not want children + +SSYYNNOOPPSSIISS + _e_x_t_e_r_n iinntt errno + +DDEESSCCRRIIPPTTIIOONN + various types, for example _u_n_s_i_g_n_e_d iinntt, _l_o_n_g int and _f_l_o_a_t, _d_o_u_b_l_e + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Vt/child.out_lint b/regress/usr.bin/mandoc/mdoc/Vt/child.out_lint new file mode 100644 index 00000000000..b4e2ed93dbe --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Vt/child.out_lint @@ -0,0 +1,2 @@ +mandoc: child.in:8:12: WARNING: .Vt block has child macro: Sy +mandoc: child.in:8:19: WARNING: .Vt block has child macro: Li |