From 4c0770c1ecd159a77561d8e0364385f4bb758650 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/mdoc/Vt/Makefile | 6 ++++++ regress/mdoc/Vt/child.in | 15 +++++++++++++++ regress/mdoc/Vt/child.out_ascii | 12 ++++++++++++ regress/mdoc/Vt/font.in | 10 ++++++++++ regress/mdoc/Vt/font.out_ascii | 9 +++++++++ regress/mdoc/Vt/noarg.in | 12 ++++++++++++ regress/mdoc/Vt/noarg.out_ascii | 9 +++++++++ regress/mdoc/Vt/noarg.out_lint | 1 + regress/mdoc/Vt/spacing.in | 16 ++++++++++++++++ regress/mdoc/Vt/spacing.out_ascii | 13 +++++++++++++ 10 files changed, 103 insertions(+) create mode 100644 regress/mdoc/Vt/Makefile create mode 100644 regress/mdoc/Vt/child.in create mode 100644 regress/mdoc/Vt/child.out_ascii create mode 100644 regress/mdoc/Vt/font.in create mode 100644 regress/mdoc/Vt/font.out_ascii create mode 100644 regress/mdoc/Vt/noarg.in create mode 100644 regress/mdoc/Vt/noarg.out_ascii create mode 100644 regress/mdoc/Vt/noarg.out_lint create mode 100644 regress/mdoc/Vt/spacing.in create mode 100644 regress/mdoc/Vt/spacing.out_ascii (limited to 'regress/mdoc/Vt') diff --git a/regress/mdoc/Vt/Makefile b/regress/mdoc/Vt/Makefile new file mode 100644 index 00000000..d1f0a9bd --- /dev/null +++ b/regress/mdoc/Vt/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.7 2015/09/14 15:35:47 schwarze Exp $ + +REGRESS_TARGETS = noarg spacing font child +LINT_TARGETS = noarg + +.include diff --git a/regress/mdoc/Vt/child.in b/regress/mdoc/Vt/child.in new file mode 100644 index 00000000..a35aa674 --- /dev/null +++ b/regress/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/mdoc/Vt/child.out_ascii b/regress/mdoc/Vt/child.out_ascii new file mode 100644 index 00000000..500c0e80 --- /dev/null +++ b/regress/mdoc/Vt/child.out_ascii @@ -0,0 +1,12 @@ +VT-CHILD(1) General Commands 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/mdoc/Vt/font.in b/regress/mdoc/Vt/font.in new file mode 100644 index 00000000..c90692ef --- /dev/null +++ b/regress/mdoc/Vt/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt VT-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Vt-font +.Nd changing fonts inside the variable type macro +.Sh DESCRIPTION +normal text +.Vt emphasis\\fBbold\\fPback +trailing text diff --git a/regress/mdoc/Vt/font.out_ascii b/regress/mdoc/Vt/font.out_ascii new file mode 100644 index 00000000..bbc703a0 --- /dev/null +++ b/regress/mdoc/Vt/font.out_ascii @@ -0,0 +1,9 @@ +VT-FONT(1) General Commands Manual VT-FONT(1) + +NNAAMMEE + VVtt--ffoonntt - changing fonts inside the variable type macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Vt/noarg.in b/regress/mdoc/Vt/noarg.in new file mode 100644 index 00000000..929dc05c --- /dev/null +++ b/regress/mdoc/Vt/noarg.in @@ -0,0 +1,12 @@ +.Dd January 20, 2011 +.Dt VT-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Vt-noarg +.Nd variable type macro without arguments +.Sh DESCRIPTION +with arguments +.Vt signed int +no arguments +.Vt +end of test document diff --git a/regress/mdoc/Vt/noarg.out_ascii b/regress/mdoc/Vt/noarg.out_ascii new file mode 100644 index 00000000..04ca18dd --- /dev/null +++ b/regress/mdoc/Vt/noarg.out_ascii @@ -0,0 +1,9 @@ +VT-NOARG(1) General Commands Manual VT-NOARG(1) + +NNAAMMEE + VVtt--nnooaarrgg - variable type macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments _s_i_g_n_e_d _i_n_t no arguments end of test document + +OpenBSD January 20, 2011 OpenBSD diff --git a/regress/mdoc/Vt/noarg.out_lint b/regress/mdoc/Vt/noarg.out_lint new file mode 100644 index 00000000..4834a82a --- /dev/null +++ b/regress/mdoc/Vt/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Vt diff --git a/regress/mdoc/Vt/spacing.in b/regress/mdoc/Vt/spacing.in new file mode 100644 index 00000000..afb4c70e --- /dev/null +++ b/regress/mdoc/Vt/spacing.in @@ -0,0 +1,16 @@ +.Dd July 8, 2012 +.Dt VT-SPACING 1 +.Os OpenBSD +.Sh NAME +.Nm Vt-spacing +.Nd spacing around the variable type macro +.Sh SYNOPSIS +.Vt extern char **environ +.Vt extern int errno +.Sh DESCRIPTION +various types, for example +.Vt unsigned int , +.Vt long int +and +.Vt float , +.Vt double diff --git a/regress/mdoc/Vt/spacing.out_ascii b/regress/mdoc/Vt/spacing.out_ascii new file mode 100644 index 00000000..bb5e8441 --- /dev/null +++ b/regress/mdoc/Vt/spacing.out_ascii @@ -0,0 +1,13 @@ +VT-SPACING(1) General Commands Manual VT-SPACING(1) + +NNAAMMEE + VVtt--ssppaacciinngg - spacing around the variable type macro + +SSYYNNOOPPSSIISS + _e_x_t_e_r_n _c_h_a_r _*_*_e_n_v_i_r_o_n + _e_x_t_e_r_n _i_n_t _e_r_r_n_o + +DDEESSCCRRIIPPTTIIOONN + various types, for example _u_n_s_i_g_n_e_d _i_n_t, _l_o_n_g _i_n_t and _f_l_o_a_t, _d_o_u_b_l_e + +OpenBSD July 8, 2012 OpenBSD -- cgit