diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/mdoc/Cd | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/mdoc/Cd')
-rw-r--r-- | regress/mdoc/Cd/Makefile | 6 | ||||
-rw-r--r-- | regress/mdoc/Cd/eos.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Cd/eos.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Cd/font.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Cd/font.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Cd/noarg.in | 12 | ||||
-rw-r--r-- | regress/mdoc/Cd/noarg.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Cd/noarg.out_lint | 1 |
8 files changed, 66 insertions, 0 deletions
diff --git a/regress/mdoc/Cd/Makefile b/regress/mdoc/Cd/Makefile new file mode 100644 index 00000000..164e5964 --- /dev/null +++ b/regress/mdoc/Cd/Makefile @@ -0,0 +1,6 @@ +# $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/mdoc/Cd/eos.in b/regress/mdoc/Cd/eos.in new file mode 100644 index 00000000..9f83b8fc --- /dev/null +++ b/regress/mdoc/Cd/eos.in @@ -0,0 +1,10 @@ +.Dd November 17, 2012 +.Dt CD-EOS 1 +.Os OpenBSD +.Sh NAME +.Nm Cd-eos +.Nd end of sentence handling after the configuration directive macro +.Sh DESCRIPTION +Do not use +.Cd options INSECURE . +It is insecure. diff --git a/regress/mdoc/Cd/eos.out_ascii b/regress/mdoc/Cd/eos.out_ascii new file mode 100644 index 00000000..4e0b1bea --- /dev/null +++ b/regress/mdoc/Cd/eos.out_ascii @@ -0,0 +1,9 @@ +CD-EOS(1) General Commands Manual CD-EOS(1) + +NNAAMMEE + CCdd--eeooss - end of sentence handling after the configuration directive macro + +DDEESSCCRRIIPPTTIIOONN + Do not use ooppttiioonnss IINNSSEECCUURREE. It is insecure. + +OpenBSD November 17, 2012 OpenBSD diff --git a/regress/mdoc/Cd/font.in b/regress/mdoc/Cd/font.in new file mode 100644 index 00000000..716794eb --- /dev/null +++ b/regress/mdoc/Cd/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt CD-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Cd-font +.Nd changing fonts inside the configuration declaration macro +.Sh DESCRIPTION +normal text +.Cd bold\\fIemphasis\\fPback +trailing text diff --git a/regress/mdoc/Cd/font.out_ascii b/regress/mdoc/Cd/font.out_ascii new file mode 100644 index 00000000..8949462b --- /dev/null +++ b/regress/mdoc/Cd/font.out_ascii @@ -0,0 +1,9 @@ +CD-FONT(1) General Commands Manual CD-FONT(1) + +NNAAMMEE + CCdd--ffoonntt - changing fonts inside the configuration declaration macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Cd/noarg.in b/regress/mdoc/Cd/noarg.in new file mode 100644 index 00000000..7190ebea --- /dev/null +++ b/regress/mdoc/Cd/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt CD-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Cd-noarg +.Nd kernel configuration directive without arguments +.Sh DESCRIPTION +with arguments: +.Cd wd* at pciide? +without arguments: +.Cd +end of test document diff --git a/regress/mdoc/Cd/noarg.out_ascii b/regress/mdoc/Cd/noarg.out_ascii new file mode 100644 index 00000000..eefae539 --- /dev/null +++ b/regress/mdoc/Cd/noarg.out_ascii @@ -0,0 +1,9 @@ +CD-NOARG(1) General Commands Manual CD-NOARG(1) + +NNAAMMEE + CCdd--nnooaarrgg - kernel configuration directive without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments: wwdd** aatt ppcciiiiddee?? without arguments: end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Cd/noarg.out_lint b/regress/mdoc/Cd/noarg.out_lint new file mode 100644 index 00000000..41599d9b --- /dev/null +++ b/regress/mdoc/Cd/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Cd |