summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Rv
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/Rv
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Rv')
-rw-r--r--regress/mdoc/Rv/Makefile1
-rw-r--r--regress/mdoc/Rv/args.out_markdown18
-rw-r--r--regress/mdoc/Rv/nostd.out_markdown18
3 files changed, 37 insertions, 0 deletions
diff --git a/regress/mdoc/Rv/Makefile b/regress/mdoc/Rv/Makefile
index 238982a3..60fb1de7 100644
--- a/regress/mdoc/Rv/Makefile
+++ b/regress/mdoc/Rv/Makefile
@@ -2,6 +2,7 @@
REGRESS_TARGETS = args noname nostd
LINT_TARGETS = noname nostd
+MARKDOWN_TARGETS = args nostd
# groff-1.22.2 defect:
# - .Rv without -std produces no output
diff --git a/regress/mdoc/Rv/args.out_markdown b/regress/mdoc/Rv/args.out_markdown
new file mode 100644
index 00000000..017f9b6d
--- /dev/null
+++ b/regress/mdoc/Rv/args.out_markdown
@@ -0,0 +1,18 @@
+RV-ARGS(3) - Library Functions Manual
+
+# NAME
+
+**Rv-args** - arguments to the return value macro
+
+# RETURN VALUES
+
+no arguments:
+Upon successful completion, the value&#160;0 is returned; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+one argument:
+The **one**() function returns the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+two arguments:
+The **one**() and **two**() functions return the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+OpenBSD - July 29, 2014
diff --git a/regress/mdoc/Rv/nostd.out_markdown b/regress/mdoc/Rv/nostd.out_markdown
new file mode 100644
index 00000000..5600556d
--- /dev/null
+++ b/regress/mdoc/Rv/nostd.out_markdown
@@ -0,0 +1,18 @@
+RV-NOSTD(3) - Library Functions Manual
+
+# NAME
+
+**Rv-nostd** - return value macros without -std arguments
+
+# RETURN VALUES
+
+no arguments:
+Upon successful completion, the value&#160;0 is returned; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+one argument:
+The **one**() function returns the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+two arguments:
+The **one**() and **two**() functions return the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+OpenBSD - July 29, 2014