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/IP/Makefile | 6 +++ regress/man/IP/empty.in | 26 ++++++++++++ regress/man/IP/empty.out_ascii | 26 ++++++++++++ regress/man/IP/empty.out_lint | 2 + regress/man/IP/literal.in | 24 +++++++++++ regress/man/IP/literal.out_ascii | 26 ++++++++++++ regress/man/IP/longhead.in | 10 +++++ regress/man/IP/longhead.out_ascii | 19 +++++++++ regress/man/IP/manyargs.in | 39 ++++++++++++++++++ regress/man/IP/manyargs.out_ascii | 40 ++++++++++++++++++ regress/man/IP/spacing.in | 31 ++++++++++++++ regress/man/IP/spacing.out_ascii | 41 ++++++++++++++++++ regress/man/IP/width.in | 78 +++++++++++++++++++++++++++++++++++ regress/man/IP/width.out_ascii | 87 +++++++++++++++++++++++++++++++++++++++ 14 files changed, 455 insertions(+) create mode 100644 regress/man/IP/Makefile create mode 100644 regress/man/IP/empty.in create mode 100644 regress/man/IP/empty.out_ascii create mode 100644 regress/man/IP/empty.out_lint create mode 100644 regress/man/IP/literal.in create mode 100644 regress/man/IP/literal.out_ascii create mode 100644 regress/man/IP/longhead.in create mode 100644 regress/man/IP/longhead.out_ascii create mode 100644 regress/man/IP/manyargs.in create mode 100644 regress/man/IP/manyargs.out_ascii create mode 100644 regress/man/IP/spacing.in create mode 100644 regress/man/IP/spacing.out_ascii create mode 100644 regress/man/IP/width.in create mode 100644 regress/man/IP/width.out_ascii (limited to 'regress/man/IP') diff --git a/regress/man/IP/Makefile b/regress/man/IP/Makefile new file mode 100644 index 00000000..9edc12e1 --- /dev/null +++ b/regress/man/IP/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.8 2014/07/02 05:51:49 schwarze Exp $ + +REGRESS_TARGETS = empty literal longhead manyargs spacing width +LINT_TARGETS = empty + +.include diff --git a/regress/man/IP/empty.in b/regress/man/IP/empty.in new file mode 100644 index 00000000..42afeefa --- /dev/null +++ b/regress/man/IP/empty.in @@ -0,0 +1,26 @@ +.TH IP-EMPTY 1 "July 17, 2012" OpenBSD +.SH NAME +IP-empty \- empty indented paragraphs +.SH DESCRIPTION +regular +text +.IP +indented +text +.PP +Empty IP is deleted: +.IP +.IP tag1 10n +.IP tag2 +indented +text +.PP +Empty IP is deleted, RS does not cause additional spacing: +.IP +.RS +.IP tag +indented +text +.RE +regular +text diff --git a/regress/man/IP/empty.out_ascii b/regress/man/IP/empty.out_ascii new file mode 100644 index 00000000..24ab17fa --- /dev/null +++ b/regress/man/IP/empty.out_ascii @@ -0,0 +1,26 @@ +IP-EMPTY(1) General Commands Manual IP-EMPTY(1) + + + +NNAAMMEE + IP-empty - empty indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + regular text + + indented text + + Empty IP is deleted: + + tag1 + + tag2 indented text + + Empty IP is deleted, RS does not cause additional spacing: + + tag indented text + regular text + + + +OpenBSD July 17, 2012 IP-EMPTY(1) diff --git a/regress/man/IP/empty.out_lint b/regress/man/IP/empty.out_lint new file mode 100644 index 00000000..9f677652 --- /dev/null +++ b/regress/man/IP/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:12:2: WARNING: skipping paragraph macro: IP empty +mandoc: empty.in:19:2: WARNING: skipping paragraph macro: IP empty diff --git a/regress/man/IP/literal.in b/regress/man/IP/literal.in new file mode 100644 index 00000000..468f1a91 --- /dev/null +++ b/regress/man/IP/literal.in @@ -0,0 +1,24 @@ +.TH IP-LITERAL 1 "January 4, 2011" OpenBSD +.SH NAME +IP-literal \- indented paragraphs in literal context +.SH DESCRIPTION +regular +text +.IP tag 10n +indented +text +.PP +regular +text +.nf +literal +text +.IP tag 10n +indented +text +.PP +literal +text +.fi +regular +text diff --git a/regress/man/IP/literal.out_ascii b/regress/man/IP/literal.out_ascii new file mode 100644 index 00000000..f7e9bb8d --- /dev/null +++ b/regress/man/IP/literal.out_ascii @@ -0,0 +1,26 @@ +IP-LITERAL(1) General Commands Manual IP-LITERAL(1) + + + +NNAAMMEE + IP-literal - indented 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 IP-LITERAL(1) diff --git a/regress/man/IP/longhead.in b/regress/man/IP/longhead.in new file mode 100644 index 00000000..f24922c0 --- /dev/null +++ b/regress/man/IP/longhead.in @@ -0,0 +1,10 @@ +.TH IP-LONGHEAD 1 "April 8, 2014" OpenBSD +.SH NAME +IP-longhead \- indented paragraph with a long head +.SH DESCRIPTION +normal text +.IP "This indented paragraph has ridiculously long text \ +in its head, such that it doesn't even fit on the line" 6n +paragraph body +.PP +normal text diff --git a/regress/man/IP/longhead.out_ascii b/regress/man/IP/longhead.out_ascii new file mode 100644 index 00000000..ce0ef109 --- /dev/null +++ b/regress/man/IP/longhead.out_ascii @@ -0,0 +1,19 @@ +IP-LONGHEAD(1) General Commands Manual IP-LONGHEAD(1) + + + +NNAAMMEE + IP-longhead - indented paragraph with a long head + +DDEESSCCRRIIPPTTIIOONN + normal text + + This indented paragraph has ridiculously long text in its head, such + that it doesn't even fit on the line + paragraph body + + normal text + + + +OpenBSD April 8, 2014 IP-LONGHEAD(1) diff --git a/regress/man/IP/manyargs.in b/regress/man/IP/manyargs.in new file mode 100644 index 00000000..4a683829 --- /dev/null +++ b/regress/man/IP/manyargs.in @@ -0,0 +1,39 @@ +.TH IP-MANYARGS 1 "January 4, 2011" OpenBSD +.SH NAME +IP-manyargs \- too many header args for indented blocks +.SH DESCRIPTION +regular +text +.IP tag1 10n +indented +text +.PP +regular +text +.IP tag2 10n tag1 +indented +text +.PP +regular +text +.IP tag3 10n tag2 tag1 +indented +text +.nf +literal +text +.IP tag1 10n +indented +text +.PP +literal +text +.IP tag2 10n tag1 +indented +text +.PP +literal +text +.IP tag3 10n tag2 tag1 +indented +text diff --git a/regress/man/IP/manyargs.out_ascii b/regress/man/IP/manyargs.out_ascii new file mode 100644 index 00000000..ab05c32d --- /dev/null +++ b/regress/man/IP/manyargs.out_ascii @@ -0,0 +1,40 @@ +IP-MANYARGS(1) General Commands Manual IP-MANYARGS(1) + + + +NNAAMMEE + IP-manyargs - too many header args for indented 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 IP-MANYARGS(1) diff --git a/regress/man/IP/spacing.in b/regress/man/IP/spacing.in new file mode 100644 index 00000000..e1239b5b --- /dev/null +++ b/regress/man/IP/spacing.in @@ -0,0 +1,31 @@ +.TH IP-SPACING 1 "September 21, 2015" OpenBSD +.SH NAME +IP-spacing \- spacing in indentend paragraphs +.SH DESCRIPTION +Normal text. +.IP tag +Indented text. +.IP four +Indented text. +.IP ffive +Indented text. +.IP sixsix +Indented text. +.IP seseven +Indented text. +.IP "a much longer tag" +Indented text. +.LP +Tags with trailing space: +.IP "tag " +Three plus one makes four. +.IP "tag " +Three plus two makes five. +.IP "tag " +Three plus three makes six. +.IP "tag " +Three plus four makes seven. +.IP "tag " +Three plus five makes eight. +.LP +Normal text. diff --git a/regress/man/IP/spacing.out_ascii b/regress/man/IP/spacing.out_ascii new file mode 100644 index 00000000..0aeb8291 --- /dev/null +++ b/regress/man/IP/spacing.out_ascii @@ -0,0 +1,41 @@ +IP-SPACING(1) General Commands Manual IP-SPACING(1) + + + +NNAAMMEE + IP-spacing - spacing in indentend paragraphs + +DDEESSCCRRIIPPTTIIOONN + Normal text. + + tag Indented text. + + four Indented text. + + ffive Indented text. + + sixsix Indented text. + + seseven + Indented text. + + a much longer tag + Indented text. + + Tags with trailing space: + + tag Three plus one makes four. + + tag Three plus two makes five. + + tag Three plus three makes six. + + tag Three plus four makes seven. + + tag Three plus five makes eight. + + Normal text. + + + +OpenBSD September 21, 2015 IP-SPACING(1) diff --git a/regress/man/IP/width.in b/regress/man/IP/width.in new file mode 100644 index 00000000..1c919a38 --- /dev/null +++ b/regress/man/IP/width.in @@ -0,0 +1,78 @@ +.TH IP-WIDTH 1 "December 23, 2014" OpenBSD +.SH NAME +IP-width \- indentation width of indented paragraphs +.SH DESCRIPTION +Regular mode: +.IP tag -10n +indented +.br +text +.IP tag -4n +indented +.br +text +.IP tag 0n +indented +.br +text +.IP tag 1n +indented +.br +text +.IP tag 2n +indented +.br +text +.IP tag 3n +indented +.br +text +.IP tag 4n +indented +.br +text +.IP tag 5n +indented +.br +text +.IP tag xxx +indented +.br +text +.IP tag 100n +indented +.br +text +.PP +Literal mode: +.nf +.IP tag -10n +indented +text +.IP tag -4n +indented +text +.IP tag 0n +indented +text +.IP tag 1n +indented +text +.IP tag 2n +indented +text +.IP tag 3n +indented +text +.IP tag 4n +indented +text +.IP tag 5n +indented +text +.IP tag xxx +indented +text +.IP tag 100n +indented +text diff --git a/regress/man/IP/width.out_ascii b/regress/man/IP/width.out_ascii new file mode 100644 index 00000000..a867ba70 --- /dev/null +++ b/regress/man/IP/width.out_ascii @@ -0,0 +1,87 @@ +IP-WIDTH(1) General Commands Manual IP-WIDTH(1) + + + +NNAAMMEE + IP-width - indentation width of indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + Regular mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + Literal mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + + +OpenBSD December 23, 2014 IP-WIDTH(1) -- cgit v1.2.3-56-ge451