aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bd
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-08 14:45:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-08 14:45:55 +0000
commit51ca12e3bb02516f826a3325bc86d02263cfcede (patch)
tree06d7cc129ad313aedea9bde228b1c488fee31c83 /regress/mdoc/Bd
parent18041b0d660f58378f38e359b6f6f0304cbdde21 (diff)
downloadmandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.tar.gz
mandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.tar.zst
mandoc-51ca12e3bb02516f826a3325bc86d02263cfcede.zip
enable -T markdown tests of filled displays and tagged lists
Diffstat (limited to 'regress/mdoc/Bd')
-rw-r--r--regress/mdoc/Bd/Makefile4
-rw-r--r--regress/mdoc/Bd/badargs.out_markdown51
-rw-r--r--regress/mdoc/Bd/beforeNAME.out_markdown15
-rw-r--r--regress/mdoc/Bd/blank.out_markdown33
-rw-r--r--regress/mdoc/Bd/break.out_markdown17
-rw-r--r--regress/mdoc/Bd/broken.out_markdown15
-rw-r--r--regress/mdoc/Bd/centered.out_markdown16
-rw-r--r--regress/mdoc/Bd/empty.out_markdown19
-rw-r--r--regress/mdoc/Bd/nested.out_markdown46
-rw-r--r--regress/mdoc/Bd/offset-empty.out_markdown25
-rw-r--r--regress/mdoc/Bd/offset-neg.out_markdown27
-rw-r--r--regress/mdoc/Bd/spacing.out_markdown19
-rw-r--r--regress/mdoc/Bd/unclosed.out_markdown13
13 files changed, 300 insertions, 0 deletions
diff --git a/regress/mdoc/Bd/Makefile b/regress/mdoc/Bd/Makefile
index 817d9fe7..c27fc8ac 100644
--- a/regress/mdoc/Bd/Makefile
+++ b/regress/mdoc/Bd/Makefile
@@ -6,6 +6,10 @@ REGRESS_TARGETS += break broken unclosed
LINT_TARGETS = beforeNAME blank nested badargs break broken unclosed
+MARKDOWN_TARGETS = beforeNAME blank centered nested spacing
+MARKDOWN_TARGETS += badargs empty offset-empty offset-neg
+MARKDOWN_TARGETS += break broken unclosed
+
SKIP_TMAN = beforeNAME centered
# groff-1.22.3 defects:
diff --git a/regress/mdoc/Bd/badargs.out_markdown b/regress/mdoc/Bd/badargs.out_markdown
new file mode 100644
index 00000000..49503d25
--- /dev/null
+++ b/regress/mdoc/Bd/badargs.out_markdown
@@ -0,0 +1,51 @@
+BD-BADARGS(1) - General Commands Manual
+
+# NAME
+
+**Bd-badargs** - display block with bad arguments
+
+# DESCRIPTION
+
+trailing -offset:
+
+> is
+> ignored
+
+double -compact and -offset:
+
+> last
+> wins
+
+no type:
+
+> displayed
+> text
+
+double type:
+
+> ragged
+> unfilled
+
+ unfilled
+ ragged
+
+file /dev/null:
+
+> ragged
+> offset indent
+
+trailing -file:
+
+> ragged
+> offset indent
+
+missing -file argument:
+
+> ragged
+> offset indent
+
+no argument whatsoever:
+no
+argument
+
+OpenBSD - October 27, 2015
diff --git a/regress/mdoc/Bd/beforeNAME.out_markdown b/regress/mdoc/Bd/beforeNAME.out_markdown
new file mode 100644
index 00000000..79b9702a
--- /dev/null
+++ b/regress/mdoc/Bd/beforeNAME.out_markdown
@@ -0,0 +1,15 @@
+BD-BEFORENAME(1) - General Commands Manual
+
+> Building and Debugging NetBSD Kernels
+> David A. Holland
+> August 17, 2009
+
+# NAME
+
+**Bd-beforename** - title and author block before the NAME section
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - July 28, 2014
diff --git a/regress/mdoc/Bd/blank.out_markdown b/regress/mdoc/Bd/blank.out_markdown
new file mode 100644
index 00000000..5977c6fb
--- /dev/null
+++ b/regress/mdoc/Bd/blank.out_markdown
@@ -0,0 +1,33 @@
+BD-BLANK(1) - General Commands Manual
+
+# NAME
+
+**Bd-blank** - handling of blank lines in literal displays
+
+# DESCRIPTION
+
+ completely blank line:
+
+ line containing a blank character:
+
+ line containing two blank characters:
+
+ line containing space tab space:
+
+ line starting with a blank character:
+ x
+ line starting with two blank characters:
+ x
+ line ending in one blank character:
+ line ending in two blank characters:
+ line ending in space tab space:
+ line containing a Pp macro:
+
+ finally, a trailing blank line:
+
+
+An empty one-line literal display:
+
+end of test document
+
+OpenBSD - January 2, 2011
diff --git a/regress/mdoc/Bd/break.out_markdown b/regress/mdoc/Bd/break.out_markdown
new file mode 100644
index 00000000..5a11842d
--- /dev/null
+++ b/regress/mdoc/Bd/break.out_markdown
@@ -0,0 +1,17 @@
+BD-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Bd-break** - display breaking another block
+
+# DESCRIPTION
+
+before both
+
+> before bracket
+> \[inside both
+
+after display]
+after both
+
+OpenBSD - November 10, 2012
diff --git a/regress/mdoc/Bd/broken.out_markdown b/regress/mdoc/Bd/broken.out_markdown
new file mode 100644
index 00000000..f05b702f
--- /dev/null
+++ b/regress/mdoc/Bd/broken.out_markdown
@@ -0,0 +1,15 @@
+BD-BROKEN(1) - General Commands Manual
+
+# NAME
+
+**Bd-broken** - display broken by another block
+
+# DESCRIPTION
+
+before both
+\[before display
+
+> inside both]
+> after bracket
+
+OpenBSD - November 10, 2012
diff --git a/regress/mdoc/Bd/centered.out_markdown b/regress/mdoc/Bd/centered.out_markdown
new file mode 100644
index 00000000..9eaadec1
--- /dev/null
+++ b/regress/mdoc/Bd/centered.out_markdown
@@ -0,0 +1,16 @@
+BD-CENTERED(1) - General Commands Manual
+
+# NAME
+
+**Bd-centered** - centered display blocks
+
+# DESCRIPTION
+
+preceding text
+
+> first line of the block
+> second line
+
+following text
+
+OpenBSD - July 28, 2014
diff --git a/regress/mdoc/Bd/empty.out_markdown b/regress/mdoc/Bd/empty.out_markdown
new file mode 100644
index 00000000..6263ccca
--- /dev/null
+++ b/regress/mdoc/Bd/empty.out_markdown
@@ -0,0 +1,19 @@
+BD-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Bd-empty** - empty displays
+
+# DESCRIPTION
+
+An empty filled display:
+
+An empty literal display:
+
+An empty ragged display:
+
+An empty unfilled display:
+
+end of test document
+
+OpenBSD - January 2, 2010
diff --git a/regress/mdoc/Bd/nested.out_markdown b/regress/mdoc/Bd/nested.out_markdown
new file mode 100644
index 00000000..f3fca637
--- /dev/null
+++ b/regress/mdoc/Bd/nested.out_markdown
@@ -0,0 +1,46 @@
+BD-NESTED(1) - General Commands Manual
+
+# NAME
+
+**Bd-nested** - nested displays and lists
+
+# DESCRIPTION
+
+regular
+text
+
+> outer
+> text (default indent)
+
+> > inner
+> > text (default indent)
+
+> outer
+> text
+
+regular
+text
+
+> outer text (4n)
+
+> > inner text (2n)
+
+> outer text
+
+> tag
+
+> > text
+
+> outer text
+
+regular text
+
+tag
+
+> outer text
+
+> > inner text (2n)
+
+> outer text
+
+OpenBSD - November 18, 2012
diff --git a/regress/mdoc/Bd/offset-empty.out_markdown b/regress/mdoc/Bd/offset-empty.out_markdown
new file mode 100644
index 00000000..f5c06a13
--- /dev/null
+++ b/regress/mdoc/Bd/offset-empty.out_markdown
@@ -0,0 +1,25 @@
+BD-OFFSET-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Bd-offset-empty** - no argument specified to Bd offset
+
+# DESCRIPTION
+
+ Bd literal offset empty
+
+ Bd literal offset left
+
+ Bd literal offset indent
+
+ Bd literal offset indent-two
+
+ Bd literal offset 4n
+
+ Bd literal offset mystring
+
+ Bd literal offset Ds
+
+ Bd literal offset 78n
+
+OpenBSD - November 20, 2014
diff --git a/regress/mdoc/Bd/offset-neg.out_markdown b/regress/mdoc/Bd/offset-neg.out_markdown
new file mode 100644
index 00000000..60cd9195
--- /dev/null
+++ b/regress/mdoc/Bd/offset-neg.out_markdown
@@ -0,0 +1,27 @@
+BD-INDENT(1) - General Commands Manual
+
+# NAME
+
+**Bd-indent** - indenting display blocks
+
+# DESCRIPTION
+
+regular text
+
+> outer display
+
+> > inner display
+
+> outer display
+
+regular text
+
+> outer display
+
+> > inner display
+
+> outer display
+
+regular text
+
+OpenBSD - December 24, 2014
diff --git a/regress/mdoc/Bd/spacing.out_markdown b/regress/mdoc/Bd/spacing.out_markdown
new file mode 100644
index 00000000..c87b9616
--- /dev/null
+++ b/regress/mdoc/Bd/spacing.out_markdown
@@ -0,0 +1,19 @@
+BD-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Bd-spacing** - vertical spacing around display blocks
+
+# DESCRIPTION
+
+preceding text
+
+> display block
+
+text between displays
+
+> compact display block
+
+following text
+
+OpenBSD - July 6, 2012
diff --git a/regress/mdoc/Bd/unclosed.out_markdown b/regress/mdoc/Bd/unclosed.out_markdown
new file mode 100644
index 00000000..644e5d4a
--- /dev/null
+++ b/regress/mdoc/Bd/unclosed.out_markdown
@@ -0,0 +1,13 @@
+BD-UNCLOSED(1) - General Commands Manual
+
+# NAME
+
+**Bd-unclosed** - display still open at the end of the file
+
+# DESCRIPTION
+
+before display
+
+> inside display
+
+OpenBSD - July 7, 2014