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/mdoc/Lb/Makefile | 6 ++++++ regress/mdoc/Lb/badargs.in | 10 ++++++++++ regress/mdoc/Lb/badargs.out_ascii | 10 ++++++++++ regress/mdoc/Lb/badargs.out_lint | 1 + regress/mdoc/Lb/break.in | 12 ++++++++++++ regress/mdoc/Lb/break.out_ascii | 13 +++++++++++++ regress/mdoc/Lb/eos.in | 10 ++++++++++ regress/mdoc/Lb/eos.out_ascii | 9 +++++++++ 8 files changed, 71 insertions(+) create mode 100644 regress/mdoc/Lb/Makefile create mode 100644 regress/mdoc/Lb/badargs.in create mode 100644 regress/mdoc/Lb/badargs.out_ascii create mode 100644 regress/mdoc/Lb/badargs.out_lint create mode 100644 regress/mdoc/Lb/break.in create mode 100644 regress/mdoc/Lb/break.out_ascii create mode 100644 regress/mdoc/Lb/eos.in create mode 100644 regress/mdoc/Lb/eos.out_ascii (limited to 'regress/mdoc/Lb') diff --git a/regress/mdoc/Lb/Makefile b/regress/mdoc/Lb/Makefile new file mode 100644 index 00000000..952e0881 --- /dev/null +++ b/regress/mdoc/Lb/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.6 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = break badargs eos +LINT_TARGETS = badargs + +.include diff --git a/regress/mdoc/Lb/badargs.in b/regress/mdoc/Lb/badargs.in new file mode 100644 index 00000000..f1fea204 --- /dev/null +++ b/regress/mdoc/Lb/badargs.in @@ -0,0 +1,10 @@ +.Dd January 2, 2011 +.Dt LB-BADARGS 3 +.Os OpenBSD +.Sh NAME +.Nm Lb-badargs +.Nd bad arguments to the library macro +.Sh LIBRARY +.Lb murks +.Lb +.Lb mylib another diff --git a/regress/mdoc/Lb/badargs.out_ascii b/regress/mdoc/Lb/badargs.out_ascii new file mode 100644 index 00000000..f5bd4afe --- /dev/null +++ b/regress/mdoc/Lb/badargs.out_ascii @@ -0,0 +1,10 @@ +LB-BADARGS(3) Library Functions Manual LB-BADARGS(3) + +NNAAMMEE + LLbb--bbaaddaarrggss - bad arguments to the library macro + +LLIIBBRRAARRYY + library ``murks'' + library ``mylib'' another + +OpenBSD January 2, 2011 OpenBSD diff --git a/regress/mdoc/Lb/badargs.out_lint b/regress/mdoc/Lb/badargs.out_lint new file mode 100644 index 00000000..52af647d --- /dev/null +++ b/regress/mdoc/Lb/badargs.out_lint @@ -0,0 +1 @@ +mandoc: badargs.in:9:2: WARNING: skipping empty macro: Lb diff --git a/regress/mdoc/Lb/break.in b/regress/mdoc/Lb/break.in new file mode 100644 index 00000000..a6c3d1bf --- /dev/null +++ b/regress/mdoc/Lb/break.in @@ -0,0 +1,12 @@ +.Dd June 30, 2010 +.Dt LB-BREAK 3 +.Os OpenBSD +.Sh NAME +.Nm Lb-break +.Nd output line breaks after the library macro +.Sh LIBRARY +.Lb mylib +text +.Sh DESCRIPTION +.Lb mylib +text diff --git a/regress/mdoc/Lb/break.out_ascii b/regress/mdoc/Lb/break.out_ascii new file mode 100644 index 00000000..6c9e5698 --- /dev/null +++ b/regress/mdoc/Lb/break.out_ascii @@ -0,0 +1,13 @@ +LB-BREAK(3) Library Functions Manual LB-BREAK(3) + +NNAAMMEE + LLbb--bbrreeaakk - output line breaks after the library macro + +LLIIBBRRAARRYY + library ``mylib'' + text + +DDEESSCCRRIIPPTTIIOONN + library ``mylib'' text + +OpenBSD June 30, 2010 OpenBSD diff --git a/regress/mdoc/Lb/eos.in b/regress/mdoc/Lb/eos.in new file mode 100644 index 00000000..f48e71a2 --- /dev/null +++ b/regress/mdoc/Lb/eos.in @@ -0,0 +1,10 @@ +.Dd November 17, 2012 +.Dt LB-EOS 1 +.Os OpenBSD +.Sh NAME +.Nm Lb-eos +.Nd end of sentence handling after the library macro +.Sh DESCRIPTION +Let's use the +.Lb mylib . +And some other libraries. diff --git a/regress/mdoc/Lb/eos.out_ascii b/regress/mdoc/Lb/eos.out_ascii new file mode 100644 index 00000000..bbb726f1 --- /dev/null +++ b/regress/mdoc/Lb/eos.out_ascii @@ -0,0 +1,9 @@ +LB-EOS(1) General Commands Manual LB-EOS(1) + +NNAAMMEE + LLbb--eeooss - end of sentence handling after the library macro + +DDEESSCCRRIIPPTTIIOONN + Let's use the library ``mylib''. And some other libraries. + +OpenBSD November 17, 2012 OpenBSD -- cgit v1.2.3-56-ge451