From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 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/man/HP/Makefile | 5 ++++ regress/man/HP/break.in | 10 +++++++ regress/man/HP/break.out_ascii | 16 +++++++++++ regress/man/HP/literal.in | 26 +++++++++++++++++ regress/man/HP/literal.out_ascii | 27 ++++++++++++++++++ regress/man/HP/macrotag.in | 13 +++++++++ regress/man/HP/macrotag.out_ascii | 17 +++++++++++ regress/man/HP/manyargs.in | 45 +++++++++++++++++++++++++++++ regress/man/HP/manyargs.out_ascii | 43 ++++++++++++++++++++++++++++ regress/man/HP/spacing.in | 59 +++++++++++++++++++++++++++++++++++++++ regress/man/HP/spacing.out_ascii | 58 ++++++++++++++++++++++++++++++++++++++ 11 files changed, 319 insertions(+) create mode 100644 regress/man/HP/Makefile create mode 100644 regress/man/HP/break.in create mode 100644 regress/man/HP/break.out_ascii create mode 100644 regress/man/HP/literal.in create mode 100644 regress/man/HP/literal.out_ascii create mode 100644 regress/man/HP/macrotag.in create mode 100644 regress/man/HP/macrotag.out_ascii create mode 100644 regress/man/HP/manyargs.in create mode 100644 regress/man/HP/manyargs.out_ascii create mode 100644 regress/man/HP/spacing.in create mode 100644 regress/man/HP/spacing.out_ascii (limited to 'regress/man/HP') diff --git a/regress/man/HP/Makefile b/regress/man/HP/Makefile new file mode 100644 index 00000000..e0d2a3b4 --- /dev/null +++ b/regress/man/HP/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2014/04/08 04:45:50 schwarze Exp $ + +REGRESS_TARGETS = break literal macrotag manyargs spacing + +.include diff --git a/regress/man/HP/break.in b/regress/man/HP/break.in new file mode 100644 index 00000000..d760b8f2 --- /dev/null +++ b/regress/man/HP/break.in @@ -0,0 +1,10 @@ +.TH HP-BREAK 1 "September 21, 2011" OpenBSD +.SH NAME +HP-break \- breaking the head line of hanged paragraphs +.SH DESCRIPTION +.HP 12n +This is an extremely long head line of a hanged paragraph; +it is so long that it won't even fit on the line. +.fi +The body of the hanged paragraph is quite long as well +and will again break the line. diff --git a/regress/man/HP/break.out_ascii b/regress/man/HP/break.out_ascii new file mode 100644 index 00000000..bb9cca2c --- /dev/null +++ b/regress/man/HP/break.out_ascii @@ -0,0 +1,16 @@ +HP-BREAK(1) General Commands Manual HP-BREAK(1) + + + +NNAAMMEE + HP-break - breaking the head line of hanged paragraphs + +DDEESSCCRRIIPPTTIIOONN + This is an extremely long head line of a hanged paragraph; it is so + long that it won't even fit on the line. + The body of the hanged paragraph is quite long as well and + will again break the line. + + + +OpenBSD September 21, 2011 HP-BREAK(1) diff --git a/regress/man/HP/literal.in b/regress/man/HP/literal.in new file mode 100644 index 00000000..e7caee1c --- /dev/null +++ b/regress/man/HP/literal.in @@ -0,0 +1,26 @@ +.TH HP-LITERAL 1 "January 4, 2011" OpenBSD +.SH NAME +HP-literal \- hanged paragraphs in literal context +.SH DESCRIPTION +regular +text +.HP 10n +tag +indented +text +.PP +regular +text +.nf +literal +text +.HP 10n +tag +indented +text +.PP +literal +text +.fi +regular +text diff --git a/regress/man/HP/literal.out_ascii b/regress/man/HP/literal.out_ascii new file mode 100644 index 00000000..ff7aabf7 --- /dev/null +++ b/regress/man/HP/literal.out_ascii @@ -0,0 +1,27 @@ +HP-LITERAL(1) General Commands Manual HP-LITERAL(1) + + + +NNAAMMEE + HP-literal - hanged paragraphs in literal context + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag indented text + + regular text + literal + text + + tag + indented + text + + literal + text + regular text + + + +OpenBSD January 4, 2011 HP-LITERAL(1) diff --git a/regress/man/HP/macrotag.in b/regress/man/HP/macrotag.in new file mode 100644 index 00000000..6582498c --- /dev/null +++ b/regress/man/HP/macrotag.in @@ -0,0 +1,13 @@ +.TH HP-MACROTAG 1 "September 20, 2011" OpenBSD +.SH NAME +HP-macrotag \- macro in the head of a tagged paragraph +.SH DESCRIPTION +regular +text +.HP +.B longindent +indented +text +.PP +regular +text diff --git a/regress/man/HP/macrotag.out_ascii b/regress/man/HP/macrotag.out_ascii new file mode 100644 index 00000000..64541ab3 --- /dev/null +++ b/regress/man/HP/macrotag.out_ascii @@ -0,0 +1,17 @@ +HP-MACROTAG(1) General Commands Manual HP-MACROTAG(1) + + + +NNAAMMEE + HP-macrotag - macro in the head of a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + regular text + + lloonnggiinnddeenntt indented text + + regular text + + + +OpenBSD September 20, 2011 HP-MACROTAG(1) diff --git a/regress/man/HP/manyargs.in b/regress/man/HP/manyargs.in new file mode 100644 index 00000000..b49e6649 --- /dev/null +++ b/regress/man/HP/manyargs.in @@ -0,0 +1,45 @@ +.TH HP-MANYARGS 1 "January 4, 2011" OpenBSD +.SH NAME +HP-manyargs \- too many header args for hanged blocks +.SH DESCRIPTION +regular +text +.HP 10n +tag1 +indented +text +.PP +regular +text +.HP 10n tag1 +tag2 +indented +text +.PP +regular +text +.HP 10n tag2 tag1 +tag3 +indented +text +.nf +literal +text +.HP 10n +tag1 +indented +text +.PP +literal +text +.HP 10n tag1 +tag2 +indented +text +.PP +literal +text +.HP 10n tag2 tag1 +tag3 +indented +text diff --git a/regress/man/HP/manyargs.out_ascii b/regress/man/HP/manyargs.out_ascii new file mode 100644 index 00000000..be399855 --- /dev/null +++ b/regress/man/HP/manyargs.out_ascii @@ -0,0 +1,43 @@ +HP-MANYARGS(1) General Commands Manual HP-MANYARGS(1) + + + +NNAAMMEE + HP-manyargs - too many header args for hanged blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag1 indented text + + regular text + + tag2 indented text + + regular text + + tag3 indented text + literal + text + + tag1 + indented + text + + literal + text + + tag2 + indented + text + + literal + text + + tag3 + indented + text + + + +OpenBSD January 4, 2011 HP-MANYARGS(1) diff --git a/regress/man/HP/spacing.in b/regress/man/HP/spacing.in new file mode 100644 index 00000000..0faec1b5 --- /dev/null +++ b/regress/man/HP/spacing.in @@ -0,0 +1,59 @@ +.TH HP-SPACING 1 "December 23, 2014" OpenBSD +.SH NAME +HP-spacing \- spacing in hanged lists +.SH DESCRIPTION +Normal text. +.HP +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.sp 1v +Vertical spacing an a third line. +.br +A fourth line. +.HP -10n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP -4n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 0n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 1n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 2n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 4n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 8n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 16n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 78n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.LP +Normal text. diff --git a/regress/man/HP/spacing.out_ascii b/regress/man/HP/spacing.out_ascii new file mode 100644 index 00000000..a2233044 --- /dev/null +++ b/regress/man/HP/spacing.out_ascii @@ -0,0 +1,58 @@ +HP-SPACING(1) General Commands Manual HP-SPACING(1) + + + +NNAAMMEE + HP-spacing - spacing in hanged lists + +DDEESSCCRRIIPPTTIIOONN + Normal text. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Vertical spacing an a third line. + A fourth line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the +next line. +And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next + line. + + Normal text. + + + +OpenBSD December 23, 2014 HP-SPACING(1) -- cgit v1.2.3-56-ge451