diff options
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc')
50 files changed, 208 insertions, 31 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ad/Makefile b/regress/usr.bin/mandoc/mdoc/Ad/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Ad/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ad/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint new file mode 100644 index 00000000000..180985aa919 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ad diff --git a/regress/usr.bin/mandoc/mdoc/Cd/Makefile b/regress/usr.bin/mandoc/mdoc/Cd/Makefile index c4a874f256f..164e5964c71 100644 --- a/regress/usr.bin/mandoc/mdoc/Cd/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Cd/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.4 2012/11/18 00:05:28 schwarze Exp $ +# $OpenBSD: Makefile,v 1.5 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font eos +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_lint new file mode 100644 index 00000000000..41599d9b37c --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Cd diff --git a/regress/usr.bin/mandoc/mdoc/Cm/Makefile b/regress/usr.bin/mandoc/mdoc/Cm/Makefile index c4a36673f0d..e674e7562db 100644 --- a/regress/usr.bin/mandoc/mdoc/Cm/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Cm/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS = basic font +REGRESS_TARGETS = basic font noarg +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Cm/noarg.in b/regress/usr.bin/mandoc/mdoc/Cm/noarg.in new file mode 100644 index 00000000000..750ce84ca9b --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Cm/noarg.in @@ -0,0 +1,12 @@ +.Dd July 2, 2014 +.Dt CM-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Cm-noarg +.Nd command modifier macro without arguments +.Sh DESCRIPTION +end of line: +.Nm mt Fl f Ar device Cm +.Pp +middle of line: +.Nm ps Fl x Cm Fl o Cm command diff --git a/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_ascii new file mode 100644 index 00000000000..23c3881ba63 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_ascii @@ -0,0 +1,11 @@ +CM-NOARG(1) OpenBSD Reference Manual CM-NOARG(1) + +NNAAMMEE + CCmm--nnooaarrgg - command modifier macro without arguments + +DDEESSCCRRIIPPTTIIOONN + end of line: mmtt --ff _d_e_v_i_c_e + + middle of line: ppss --xx --oo ccoommmmaanndd + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_lint new file mode 100644 index 00000000000..3a828e5a786 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Cm/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:9:23: WARNING: skipping empty macro: Cm +mandoc: noarg.in:12:13: WARNING: skipping empty macro: Cm diff --git a/regress/usr.bin/mandoc/mdoc/Dv/Makefile b/regress/usr.bin/mandoc/mdoc/Dv/Makefile index 11b6b21b941..cfe3ad0b4b2 100644 --- a/regress/usr.bin/mandoc/mdoc/Dv/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Dv/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2011/12/04 03:09:25 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS=font +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Dv/noarg.in b/regress/usr.bin/mandoc/mdoc/Dv/noarg.in new file mode 100644 index 00000000000..86155b3ad47 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Dv/noarg.in @@ -0,0 +1,12 @@ +.Dd July 2, 2014 +.Dt DV-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Dv-noarg +.Nd defined variable macro without an argument +.Sh DESCRIPTION +with variable: +.Dv NULL +no variable: +.Dv +end of test document diff --git a/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_ascii new file mode 100644 index 00000000000..38123531db3 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_ascii @@ -0,0 +1,9 @@ +DV-NOARG(1) OpenBSD Reference Manual DV-NOARG(1) + +NNAAMMEE + DDvv--nnooaarrgg - defined variable macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with variable: NULL no variable: end of test document + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_lint new file mode 100644 index 00000000000..cac45101ebe --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Dv/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Dv diff --git a/regress/usr.bin/mandoc/mdoc/Em/Makefile b/regress/usr.bin/mandoc/mdoc/Em/Makefile index 915e456c354..cfe3ad0b4b2 100644 --- a/regress/usr.bin/mandoc/mdoc/Em/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Em/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS = font +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Em/noarg.in b/regress/usr.bin/mandoc/mdoc/Em/noarg.in new file mode 100644 index 00000000000..9096280a1fc --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Em/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt EM-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Em-noarg +.Nd emphasis macro without arguments +.Sh DESCRIPTION +with argument +.Em arg +no argument +.Em +end of test document diff --git a/regress/usr.bin/mandoc/mdoc/Em/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Em/noarg.out_ascii new file mode 100644 index 00000000000..3d8f4c9edef --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Em/noarg.out_ascii @@ -0,0 +1,9 @@ +EM-NOARG(1) OpenBSD Reference Manual EM-NOARG(1) + +NNAAMMEE + EEmm--nnooaarrgg - emphasis macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with argument _a_r_g no argument end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Em/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Em/noarg.out_lint new file mode 100644 index 00000000000..dfc138094f1 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Em/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Em diff --git a/regress/usr.bin/mandoc/mdoc/Er/Makefile b/regress/usr.bin/mandoc/mdoc/Er/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Er/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Er/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Er/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Er/noarg.out_lint new file mode 100644 index 00000000000..b8594294129 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Er/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Er diff --git a/regress/usr.bin/mandoc/mdoc/Ev/Makefile b/regress/usr.bin/mandoc/mdoc/Ev/Makefile index 11b6b21b941..cfe3ad0b4b2 100644 --- a/regress/usr.bin/mandoc/mdoc/Ev/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ev/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2011/12/04 03:09:25 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS=font +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ev/noarg.in b/regress/usr.bin/mandoc/mdoc/Ev/noarg.in new file mode 100644 index 00000000000..84c1815d6ce --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ev/noarg.in @@ -0,0 +1,12 @@ +.Dd July 2, 2014 +.Dt EV-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Ev-noarg +.Nd environment variable macro without an argument +.Sh DESCRIPTION +with variable: +.Ev HOME +no variable: +.Ev +end of test document diff --git a/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_ascii new file mode 100644 index 00000000000..67a7591bdfb --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_ascii @@ -0,0 +1,9 @@ +EV-NOARG(1) OpenBSD Reference Manual EV-NOARG(1) + +NNAAMMEE + EEvv--nnooaarrgg - environment variable macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with variable: HOME no variable: end of test document + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_lint new file mode 100644 index 00000000000..a41541b077b --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ev/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ev diff --git a/regress/usr.bin/mandoc/mdoc/Fo/Makefile b/regress/usr.bin/mandoc/mdoc/Fo/Makefile index e64899c66be..892440232e7 100644 --- a/regress/usr.bin/mandoc/mdoc/Fo/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Fo/Makefile @@ -1,8 +1,7 @@ -# $OpenBSD: Makefile,v 1.8 2014/07/02 03:47:07 schwarze Exp $ +# $OpenBSD: Makefile,v 1.9 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = basic section break noarg font eos obsolete - -LINT_TARGETS = obsolete +LINT_TARGETS = noarg obsolete # groff does not handle .nr nS diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.in b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in index e0a7d6625c2..fca1cd4a9d3 100644 --- a/regress/usr.bin/mandoc/mdoc/Fo/noarg.in +++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in @@ -8,9 +8,20 @@ with arguments: .Ft int .Fn abs "int i" +.Ft long +.Fo labs +.Fa "long i" +.Fc void function arguments: .Ft int .Fn rand +.Ft long +.Fo random +.Fc +.Ft u_int32_t +.Fo arc4random +.Fa +.Fc no name arguments: .Ft int .Fn @@ -20,6 +31,13 @@ no type arguments: no type and void function arguments: .Ft .Fn rand +.Ft +.Fo random +.Fc +.Ft +.Fo arc4random +.Fa +.Fc no arguments at all: .Ft .Fn diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii index 2472ddce1cc..ce2a17dd783 100644 --- a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii +++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii @@ -4,8 +4,9 @@ NNAAMMEE FFnn--nnooaarrgg - function name macro without arguments DDEESSCCRRIIPPTTIIOONN - with arguments: _i_n_t aabbss(_i_n_t _i) void function arguments: _i_n_t rraanndd() no - name arguments: _i_n_t no type arguments: aabbss(_i_n_t _i) no type and void - function arguments: rraanndd() no arguments at all: end of test document + with arguments: _i_n_t aabbss(_i_n_t _i) _l_o_n_g llaabbss(_l_o_n_g _i) void function arguments: + _i_n_t rraanndd() _l_o_n_g rraannddoomm() _u___i_n_t_3_2___t aarrcc44rraannddoomm() no name arguments: _i_n_t no + type arguments: aabbss(_i_n_t _i) no type and void function arguments: rraanndd() + rraannddoomm() aarrcc44rraannddoomm() no arguments at all: end of test document OpenBSD July 12, 2012 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_lint new file mode 100644 index 00000000000..6c15847c0bd --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_lint @@ -0,0 +1,13 @@ +mandoc: noarg.in:19:2: WARNING: argument count wrong: want more than 0 children (have 0) +mandoc: noarg.in:23:2: WARNING: skipping empty macro: Fa +mandoc: noarg.in:22:2: WARNING: argument count wrong: want more than 0 children (have 0) +mandoc: noarg.in:27:2: WARNING: skipping empty macro: Fn +mandoc: noarg.in:29:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:32:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:34:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:35:2: WARNING: argument count wrong: want more than 0 children (have 0) +mandoc: noarg.in:37:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:39:2: WARNING: skipping empty macro: Fa +mandoc: noarg.in:38:2: WARNING: argument count wrong: want more than 0 children (have 0) +mandoc: noarg.in:42:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:43:2: WARNING: skipping empty macro: Fn diff --git a/regress/usr.bin/mandoc/mdoc/Ic/Makefile b/regress/usr.bin/mandoc/mdoc/Ic/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Ic/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ic/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_lint new file mode 100644 index 00000000000..5ae495bd403 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ic diff --git a/regress/usr.bin/mandoc/mdoc/Lb/Makefile b/regress/usr.bin/mandoc/mdoc/Lb/Makefile index db35db4b92f..952e0881d6a 100644 --- a/regress/usr.bin/mandoc/mdoc/Lb/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Lb/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.5 2012/11/18 00:05:28 schwarze Exp $ +# $OpenBSD: Makefile,v 1.6 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = break badargs eos +LINT_TARGETS = badargs .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Lb/badargs.out_lint b/regress/usr.bin/mandoc/mdoc/Lb/badargs.out_lint new file mode 100644 index 00000000000..4c1ff46ff7f --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Lb/badargs.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs.in:10:2: WARNING: skipping empty macro: Lb +mandoc: badargs.in:11:2: WARNING: argument count wrong: want 1 children (have 2) diff --git a/regress/usr.bin/mandoc/mdoc/Li/Makefile b/regress/usr.bin/mandoc/mdoc/Li/Makefile index 2d1d895cb1f..f5afd19956d 100644 --- a/regress/usr.bin/mandoc/mdoc/Li/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Li/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = punct font +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Li/punct.out_lint b/regress/usr.bin/mandoc/mdoc/Li/punct.out_lint new file mode 100644 index 00000000000..83206b9fe01 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Li/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:16:2: WARNING: skipping empty macro: Li diff --git a/regress/usr.bin/mandoc/mdoc/Lk/Makefile b/regress/usr.bin/mandoc/mdoc/Lk/Makefile index 17864b0cf74..d9cbbe9539d 100644 --- a/regress/usr.bin/mandoc/mdoc/Lk/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Lk/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = link noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint new file mode 100644 index 00000000000..d5a3af14f4f --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:13:2: WARNING: skipping empty macro: Lk diff --git a/regress/usr.bin/mandoc/mdoc/Ms/Makefile b/regress/usr.bin/mandoc/mdoc/Ms/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Ms/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ms/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_lint new file mode 100644 index 00000000000..265fb3e677e --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ms diff --git a/regress/usr.bin/mandoc/mdoc/St/Makefile b/regress/usr.bin/mandoc/mdoc/St/Makefile index a8c31ac485a..b27fcf07714 100644 --- a/regress/usr.bin/mandoc/mdoc/St/Makefile +++ b/regress/usr.bin/mandoc/mdoc/St/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS=badargs +REGRESS_TARGETS = badargs +LINT_TARGETS = badargs .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/St/badargs.out_lint b/regress/usr.bin/mandoc/mdoc/St/badargs.out_lint new file mode 100644 index 00000000000..bb81925fb1e --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/St/badargs.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs.in:12:2: WARNING: unknown standard specifier +mandoc: badargs.in:15:2: WARNING: skipping empty macro: St diff --git a/regress/usr.bin/mandoc/mdoc/Sx/Makefile b/regress/usr.bin/mandoc/mdoc/Sx/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Sx/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Sx/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_lint new file mode 100644 index 00000000000..3bdfa3898af --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sx diff --git a/regress/usr.bin/mandoc/mdoc/Sy/Makefile b/regress/usr.bin/mandoc/mdoc/Sy/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Sy/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Sy/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_lint new file mode 100644 index 00000000000..de7bf597cd9 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sy diff --git a/regress/usr.bin/mandoc/mdoc/Tn/Makefile b/regress/usr.bin/mandoc/mdoc/Tn/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Tn/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Tn/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint new file mode 100644 index 00000000000..74e0b6fc842 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Tn diff --git a/regress/usr.bin/mandoc/mdoc/Va/Makefile b/regress/usr.bin/mandoc/mdoc/Va/Makefile index c4a36673f0d..3d426934beb 100644 --- a/regress/usr.bin/mandoc/mdoc/Va/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Va/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ -REGRESS_TARGETS = basic font +REGRESS_TARGETS = basic font noarg +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Va/noarg.in b/regress/usr.bin/mandoc/mdoc/Va/noarg.in new file mode 100644 index 00000000000..f5fadad67e2 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Va/noarg.in @@ -0,0 +1,13 @@ +.Dd January 20, 2011 +.Dt VA-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Va-noarg +.Nd variable name macro without arguments +.Sh DESCRIPTION +with arguments +.Vt int +.Va errno +no arguments +.Va +end of test document diff --git a/regress/usr.bin/mandoc/mdoc/Va/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Va/noarg.out_ascii new file mode 100644 index 00000000000..ed489c964a0 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Va/noarg.out_ascii @@ -0,0 +1,9 @@ +VA-NOARG(1) OpenBSD Reference Manual VA-NOARG(1) + +NNAAMMEE + VVaa--nnooaarrgg - variable name macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments _i_n_t _e_r_r_n_o no arguments end of test document + +OpenBSD January 20, 2011 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Va/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Va/noarg.out_lint new file mode 100644 index 00000000000..7d24e446d2d --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Va/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Va diff --git a/regress/usr.bin/mandoc/mdoc/Vt/Makefile b/regress/usr.bin/mandoc/mdoc/Vt/Makefile index 4522c22c21f..173e4101d08 100644 --- a/regress/usr.bin/mandoc/mdoc/Vt/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Vt/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.5 2014/07/02 13:10:15 schwarze Exp $ +# $OpenBSD: Makefile,v 1.6 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg spacing font child -LINT_TARGETS = child +LINT_TARGETS = noarg child .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_lint new file mode 100644 index 00000000000..4834a82a984 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Vt |