aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfa99e371284a414ce8b13892006df003d31a0e37 (patch)
tree77511f9108c44772a3c5e9517e7c7bb8e93e1879 /regress/mdoc/Rv
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
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