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/man/UR | |
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/man/UR')
-rw-r--r-- | regress/man/UR/Makefile | 12 | ||||
-rw-r--r-- | regress/man/UR/args.in | 29 | ||||
-rw-r--r-- | regress/man/UR/args.out_ascii | 23 | ||||
-rw-r--r-- | regress/man/UR/args.out_lint | 5 | ||||
-rw-r--r-- | regress/man/UR/noUE.in | 11 | ||||
-rw-r--r-- | regress/man/UR/noUE.out_ascii | 15 | ||||
-rw-r--r-- | regress/man/UR/noUE.out_lint | 2 |
7 files changed, 97 insertions, 0 deletions
diff --git a/regress/man/UR/Makefile b/regress/man/UR/Makefile new file mode 100644 index 00000000..11cafcdf --- /dev/null +++ b/regress/man/UR/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 11:54:03 schwarze Exp $ + +REGRESS_TARGETS = args noUE +LINT_TARGETS = args noUE + +# groff-1.22.3 defects: +# - Without .UE, .UR does not print the URI. +# - But .UE prints <> even without .UR. + +SKIP_GROFF = noUE + +.include <bsd.regress.mk> diff --git a/regress/man/UR/args.in b/regress/man/UR/args.in new file mode 100644 index 00000000..f45770b2 --- /dev/null +++ b/regress/man/UR/args.in @@ -0,0 +1,29 @@ +.TH UR-ARGS 1 "October 17, 2013" OpenBSD +.SH NAME +UR-basic \- argument handling of the man-ext URI macro +.SH DESCRIPTION +argument plus text: +.UR http://www.openbsd.org/ +OpenBSD +homepage +.UE +.PP +argument but no text: +.UR http://www.netbsd.org/ +.UE +.PP +no argument, but text: +.UR +some text +.UE +.PP +two arguments plus text: +.UR first second +some text +.UE +.PP +two arguments, but no text: +.UR first second +.UE +.PP +final text diff --git a/regress/man/UR/args.out_ascii b/regress/man/UR/args.out_ascii new file mode 100644 index 00000000..9368974a --- /dev/null +++ b/regress/man/UR/args.out_ascii @@ -0,0 +1,23 @@ +UR-ARGS(1) General Commands Manual UR-ARGS(1) + + + +NNAAMMEE + UR-basic - argument handling of the man-ext URI macro + +DDEESSCCRRIIPPTTIIOONN + argument plus text: OpenBSD homepage <http://www.openbsd.org/> + + argument but no text: <http://www.netbsd.org/> + + no argument, but text: some text <> + + two arguments plus text: some text <first> + + two arguments, but no text: <first> + + final text + + + +OpenBSD October 17, 2013 UR-ARGS(1) diff --git a/regress/man/UR/args.out_lint b/regress/man/UR/args.out_lint new file mode 100644 index 00000000..3e7ef528 --- /dev/null +++ b/regress/man/UR/args.out_lint @@ -0,0 +1,5 @@ +mandoc: args.in:21:11: ERROR: skipping excess arguments: UR ... second +mandoc: args.in:26:11: ERROR: skipping excess arguments: UR ... second +mandoc: args.in:12:2: WARNING: empty block: UR +mandoc: args.in:16:2: WARNING: missing resource identifier, using "": UR +mandoc: args.in:26:2: WARNING: empty block: UR diff --git a/regress/man/UR/noUE.in b/regress/man/UR/noUE.in new file mode 100644 index 00000000..8b6f61dd --- /dev/null +++ b/regress/man/UR/noUE.in @@ -0,0 +1,11 @@ +.TH UR-NOUE 1 "July 7, 2014" OpenBSD +.SH NAME +UR-noUE \- unclosed URI macro +.SH DESCRIPTION +lonely UE: +.UE +.PP +argument plus text: +.UR http://www.openbsd.org/ +OpenBSD +homepage diff --git a/regress/man/UR/noUE.out_ascii b/regress/man/UR/noUE.out_ascii new file mode 100644 index 00000000..19090f6b --- /dev/null +++ b/regress/man/UR/noUE.out_ascii @@ -0,0 +1,15 @@ +UR-NOUE(1) General Commands Manual UR-NOUE(1) + + + +NNAAMMEE + UR-noUE - unclosed URI macro + +DDEESSCCRRIIPPTTIIOONN + lonely UE: + + argument plus text: OpenBSD homepage <http://www.openbsd.org/> + + + +OpenBSD July 7, 2014 UR-NOUE(1) diff --git a/regress/man/UR/noUE.out_lint b/regress/man/UR/noUE.out_lint new file mode 100644 index 00000000..d81fad0f --- /dev/null +++ b/regress/man/UR/noUE.out_lint @@ -0,0 +1,2 @@ +mandoc: noUE.in:6:2: ERROR: skipping end of block that is not open: UE +mandoc: noUE.in:9:2: ERROR: appending missing end of block: UR |