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 | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Sy | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/mdoc/Sy')
-rw-r--r-- | regress/mdoc/Sy/Makefile | 6 | ||||
-rw-r--r-- | regress/mdoc/Sy/font.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Sy/font.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Sy/noarg.in | 12 | ||||
-rw-r--r-- | regress/mdoc/Sy/noarg.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Sy/noarg.out_lint | 1 | ||||
-rw-r--r-- | regress/mdoc/Sy/punct.in | 82 | ||||
-rw-r--r-- | regress/mdoc/Sy/punct.out_ascii | 26 | ||||
-rw-r--r-- | regress/mdoc/Sy/punct.out_lint | 24 |
9 files changed, 179 insertions, 0 deletions
diff --git a/regress/mdoc/Sy/Makefile b/regress/mdoc/Sy/Makefile new file mode 100644 index 00000000..36c1859b --- /dev/null +++ b/regress/mdoc/Sy/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.5 2014/11/17 06:44:35 schwarze Exp $ + +REGRESS_TARGETS = noarg font punct +LINT_TARGETS = noarg punct + +.include <bsd.regress.mk> diff --git a/regress/mdoc/Sy/font.in b/regress/mdoc/Sy/font.in new file mode 100644 index 00000000..3a7bbb06 --- /dev/null +++ b/regress/mdoc/Sy/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt SY-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Sy-font +.Nd changing fonts inside the symbolic font macro +.Sh DESCRIPTION +normal text +.Sy bold\\fIemphasis\\fPback +trailing text diff --git a/regress/mdoc/Sy/font.out_ascii b/regress/mdoc/Sy/font.out_ascii new file mode 100644 index 00000000..b512ef42 --- /dev/null +++ b/regress/mdoc/Sy/font.out_ascii @@ -0,0 +1,9 @@ +SY-FONT(1) General Commands Manual SY-FONT(1) + +NNAAMMEE + SSyy--ffoonntt - changing fonts inside the symbolic font 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/Sy/noarg.in b/regress/mdoc/Sy/noarg.in new file mode 100644 index 00000000..03b36675 --- /dev/null +++ b/regress/mdoc/Sy/noarg.in @@ -0,0 +1,12 @@ +.Dd January 19, 2011 +.Dt SY-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Sy-noarg +.Nd symbolic macro without arguments +.Sh DESCRIPTION +with argument +.Sy arg +no argument +.Sy +end of test document diff --git a/regress/mdoc/Sy/noarg.out_ascii b/regress/mdoc/Sy/noarg.out_ascii new file mode 100644 index 00000000..53a9f275 --- /dev/null +++ b/regress/mdoc/Sy/noarg.out_ascii @@ -0,0 +1,9 @@ +SY-NOARG(1) General Commands Manual SY-NOARG(1) + +NNAAMMEE + SSyy--nnooaarrgg - symbolic macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with argument aarrgg no argument end of test document + +OpenBSD January 19, 2011 OpenBSD diff --git a/regress/mdoc/Sy/noarg.out_lint b/regress/mdoc/Sy/noarg.out_lint new file mode 100644 index 00000000..de7bf597 --- /dev/null +++ b/regress/mdoc/Sy/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sy diff --git a/regress/mdoc/Sy/punct.in b/regress/mdoc/Sy/punct.in new file mode 100644 index 00000000..4f51886b --- /dev/null +++ b/regress/mdoc/Sy/punct.in @@ -0,0 +1,82 @@ +.Dd November 17, 2014 +.Dt SY-PUNCT 1 +.Os OpenBSD +.Sh NAME +.Nm Sy-punct +.Nd punctuation following a symbolic macro +.Sh DESCRIPTION +Leading punctuation: +.Sy ( b +.Sy [ b +.Sy | b +.Sy . b +.Sy , b +.Sy ; b +.Sy : b +.Sy ? b +.Sy ! b +.Sy ) b +.Sy ] b +.Pp +Trailing punctuation: +.Sy a ( +.Sy a [ +.Sy a | +.Sy a . +.Sy a , +.Sy a ; +.Sy a : +.Sy a ? +.Sy a ! +.Sy a ) +.Sy a ] +.Pp +Middle punctuation: +.Sy a ( b +.Sy a [ b +.Sy a | b +.Sy a . b +.Sy a , b +.Sy a ; b +.Sy a : b +.Sy a ? b +.Sy a ! b +.Sy a ) b +.Sy a ] b +.Pp +Isolated punctuation: +.Sy a Sy ( Sy b +.Sy a Sy [ Sy b +.Sy a Sy | Sy b +.Sy a Sy . Sy b +.Sy a Sy , Sy b +.Sy a Sy ; Sy b +.Sy a Sy : Sy b +.Sy a Sy ? Sy b +.Sy a Sy ! Sy b +.Sy a Sy ) Sy b +.Sy a Sy ] Sy b +.Pp +Isolated trailing punctuation: +.Sy a Sy ( +.Sy a Sy [ +.Sy a Sy | +.Sy a Sy . +.Sy a Sy , +.Sy a Sy ; +.Sy a Sy : +.Sy a Sy ? +.Sy a Sy ! +.Sy a Sy ) +.Sy a Sy ] +.Pp +Multiple isolated punctuation: +.Sy a Sy ( [ Sy b +.Sy a Sy ) ] Sy b +.Pp +Multiple punctuation: +.Sy [ ( arg ) ] . +.Pp +Quoted: +.Sy "a . b Nm" +.Sy ". b Nm" diff --git a/regress/mdoc/Sy/punct.out_ascii b/regress/mdoc/Sy/punct.out_ascii new file mode 100644 index 00000000..39bed0ba --- /dev/null +++ b/regress/mdoc/Sy/punct.out_ascii @@ -0,0 +1,26 @@ +SY-PUNCT(1) General Commands Manual SY-PUNCT(1) + +NNAAMMEE + SSyy--ppuunncctt - punctuation following a symbolic macro + +DDEESSCCRRIIPPTTIIOONN + Leading punctuation: (bb [bb | bb . bb , bb ; bb : bb ? bb ! bb ) bb ] bb + + Trailing punctuation: aa ( aa [ aa | aa. aa, aa; aa: aa? aa! aa) aa] + + Middle punctuation: aa (bb aa [bb aa | bb aa. bb aa, bb aa; bb aa: bb aa? bb aa! bb aa) bb aa] + bb + + Isolated punctuation: aa (bb aa [bb aa | bb aa . bb aa , bb aa ; bb aa : bb aa ? bb aa ! bb + aa ) bb aa ] bb + + Isolated trailing punctuation: aa ( aa [ aa | aa . aa , aa ; aa : aa ? aa ! aa ) + aa ] + + Multiple isolated punctuation: aa ([bb aa )] bb + + Multiple punctuation: [(aarrgg)]. + + Quoted: aa .. bb NNmm .. bb NNmm + +OpenBSD November 17, 2014 OpenBSD diff --git a/regress/mdoc/Sy/punct.out_lint b/regress/mdoc/Sy/punct.out_lint new file mode 100644 index 00000000..0073a308 --- /dev/null +++ b/regress/mdoc/Sy/punct.out_lint @@ -0,0 +1,24 @@ +mandoc: punct.in:48:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:49:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:50:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:51:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:52:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:53:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:54:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:55:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:56:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:57:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:58:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:61:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:62:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:63:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:64:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:65:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:66:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:67:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:68:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:69:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:70:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:71:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:74:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:75:7: WARNING: skipping empty macro: Sy |