From 6a15cbd70e98f6f1be51ec7678674c04f8a3462c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 5 Mar 2017 19:59:27 +0000 Subject: first batch of -T markdown tests --- regress/usr.bin/mandoc/mdoc/Sm/Makefile | 3 +- regress/usr.bin/mandoc/mdoc/Sm/badarg.out_markdown | 14 +++++++ regress/usr.bin/mandoc/mdoc/Sm/noarg.out_markdown | 18 ++++++++ .../usr.bin/mandoc/mdoc/Sm/spacing-No.out_markdown | 47 +++++++++++++++++++++ .../usr.bin/mandoc/mdoc/Sm/spacing-Op.out_markdown | 49 ++++++++++++++++++++++ regress/usr.bin/mandoc/mdoc/Sm/twoarg.out_markdown | 19 +++++++++ 6 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 regress/usr.bin/mandoc/mdoc/Sm/badarg.out_markdown create mode 100644 regress/usr.bin/mandoc/mdoc/Sm/noarg.out_markdown create mode 100644 regress/usr.bin/mandoc/mdoc/Sm/spacing-No.out_markdown create mode 100644 regress/usr.bin/mandoc/mdoc/Sm/spacing-Op.out_markdown create mode 100644 regress/usr.bin/mandoc/mdoc/Sm/twoarg.out_markdown (limited to 'regress/usr.bin/mandoc/mdoc/Sm') diff --git a/regress/usr.bin/mandoc/mdoc/Sm/Makefile b/regress/usr.bin/mandoc/mdoc/Sm/Makefile index 197b1d7424f..b25f5f6bf5e 100644 --- a/regress/usr.bin/mandoc/mdoc/Sm/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Sm/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.7 2014/11/26 19:22:44 schwarze Exp $ +# $OpenBSD: Makefile,v 1.8 2017/03/05 19:59:26 schwarze Exp $ REGRESS_TARGETS = noarg badarg scope spacing-No spacing-Op twoarg LINT_TARGETS = badarg twoarg +MARKDOWN_TARGETS = noarg badarg spacing-No spacing-Op twoarg SKIP_TMAN ?= scope diff --git a/regress/usr.bin/mandoc/mdoc/Sm/badarg.out_markdown b/regress/usr.bin/mandoc/mdoc/Sm/badarg.out_markdown new file mode 100644 index 00000000000..86c8cd6fae5 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sm/badarg.out_markdown @@ -0,0 +1,14 @@ +SM-BADARG(1) - General Commands Manual + +# NAME + +**Sm-badarg** - spacing macro with invalid arguments + +# DESCRIPTION + +**-f** *on* +**-f**‌*off* bad +**-f** *bad* (on) +bad**-f**‌*bad*(off) + +OpenBSD-July 3, 2014 diff --git a/regress/usr.bin/mandoc/mdoc/Sm/noarg.out_markdown b/regress/usr.bin/mandoc/mdoc/Sm/noarg.out_markdown new file mode 100644 index 00000000000..3b0d089bb75 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sm/noarg.out_markdown @@ -0,0 +1,18 @@ +SM-NOARG(1) - General Commands Manual + +# NAME + +**Sm-noarg** - spacing macro without arguments + +# DESCRIPTION + +**-f** *on* +**-f**‌*off* +**-f** *toggle* (now on) +**-f** *on* +**-f**‌*toggle*(nowoff) + +**-f** *on* +on a new line + +OpenBSD - July 2, 2014 diff --git a/regress/usr.bin/mandoc/mdoc/Sm/spacing-No.out_markdown b/regress/usr.bin/mandoc/mdoc/Sm/spacing-No.out_markdown new file mode 100644 index 00000000000..b2487962ab8 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sm/spacing-No.out_markdown @@ -0,0 +1,47 @@ +SM-SPACING(1) - General Commands Manual + +# NAME + +**Sm-spacing** - basic tests of spacing mode + +# SYNOPSIS + +**mandoc** +**-T**‌*mode* +*file ...* + +# DESCRIPTION + +text1 +text2 text3 +text4 + +text1 +text2 text3 +macro4 + +text1 +macro2macro3 +text4 + +text1 +macro2macro3 +macro4 + +macro1 +text2 text3 +text4 + +macro1 +text2 text3 +macro4 + +macro1 +macro2macro3 +text4 + +macro1 +macro2macro3 +macro4 + +OpenBSD - July 4, 2010 diff --git a/regress/usr.bin/mandoc/mdoc/Sm/spacing-Op.out_markdown b/regress/usr.bin/mandoc/mdoc/Sm/spacing-Op.out_markdown new file mode 100644 index 00000000000..9f4f15ae890 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sm/spacing-Op.out_markdown @@ -0,0 +1,49 @@ +SM-SPACING-OP(1) - General Commands Manual + +# NAME + +**Sm-spacing-Op** - spacing mode, demonstrated using the .Op macro + +# SYNOPSIS + +**mandoc** +**-T**‌*mode* +*file ...* + +# DESCRIPTION + +text1 +text2 text3 +text4 + +text1 +text2 text3 +\[macro4] + +text1 +\[macro2macro3] +text4 + +text1 +\[macro2\[macro3]] +\[macro4] + +\[macro1] +text2 text3 +text4 + +\[macro1] +text2 text3 +\[macro4] + +\[macro1] +\[macro2\[macro3]] +text4 + +\[macro1] +\[macro2\[macro3]] +\[macro4] + +\[macro1] + +OpenBSD - July 4, 2010 diff --git a/regress/usr.bin/mandoc/mdoc/Sm/twoarg.out_markdown b/regress/usr.bin/mandoc/mdoc/Sm/twoarg.out_markdown new file mode 100644 index 00000000000..0951e672898 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Sm/twoarg.out_markdown @@ -0,0 +1,19 @@ +SM-TWOARG(1) - General Commands Manual + +# NAME + +**Sm-twoarg** - spacing macro with multiple arguments + +# DESCRIPTION + +**default**: +**-f** *on* +**off two**: +two**-f**‌*off* +**badtwo**: bad two +**-f** *off* +**on two**: +two +**-f** *on* + +OpenBSD - November 26, 2014 -- cgit v1.2.3