summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-19 21:59:21 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-19 21:59:21 +0000
commitef2cdd2d2fb60c0467aceaa6aed093e67345f1ac (patch)
tree12511d7d4ad56570f5fd6525fb64504a31e6f9b3 /regress/usr.bin/mandoc
parent6afac889da35eacd71ad566914207d3af13371dd (diff)
Let .Ao and .Aq render as "<>" after .An and as "\(la\(ra" elsewhere,
just like groff; minibug noticed by bentley@.
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/author.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii13
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/author.out_utf813
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf89
5 files changed, 48 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/Makefile b/regress/usr.bin/mandoc/mdoc/Aq/Makefile
index bbc1d584975..ae347ad37d9 100644
--- a/regress/usr.bin/mandoc/mdoc/Aq/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Aq/Makefile
@@ -1,5 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2011/12/04 03:09:25 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2014/11/19 21:59:20 schwarze Exp $
-REGRESS_TARGETS=empty
+REGRESS_TARGETS = author empty
+UTF8_TARGETS = author empty
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.in b/regress/usr.bin/mandoc/mdoc/Aq/author.in
new file mode 100644
index 00000000000..9e007f5899b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/author.in
@@ -0,0 +1,10 @@
+.Dd November 19, 2014
+.Dt AQ-AUTHOR 1
+.Os OpenBSD
+.Sh NAME
+.Nm Aq-author
+.Nd angle brackets after an author name macro
+.Sh DESCRIPTION
+.An Name Ao Mt addr Ac An Name Aq Mt addr
+.Sh AUTHORS
+.An Name Ao Mt addr Ac An Name Aq Mt addr
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii b/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii
new file mode 100644
index 00000000000..80775148bf4
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/author.out_ascii
@@ -0,0 +1,13 @@
+AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1)
+
+NNAAMMEE
+ AAqq--aauutthhoorr - angle brackets after an author name macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Name <_a_d_d_r> Name <_a_d_d_r>
+
+AAUUTTHHOORRSS
+ Name <_a_d_d_r>
+ Name <_a_d_d_r>
+
+OpenBSD November 19, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8 b/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8
new file mode 100644
index 00000000000..28c4faca702
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/author.out_utf8
@@ -0,0 +1,13 @@
+AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1)
+
+NNAAMMEE
+ AAqq--aauutthhoorr – angle brackets after an author name macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Name <_a_d_d_r> Name <_a_d_d_r>
+
+AAUUTTHHOORRSS
+ Name <_a_d_d_r>
+ Name <_a_d_d_r>
+
+OpenBSD November 19, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8 b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8
new file mode 100644
index 00000000000..0ae72b6f239
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_utf8
@@ -0,0 +1,9 @@
+AQ-EMPTY(1) General Commands Manual AQ-EMPTY(1)
+
+NNAAMMEE
+ AAqq--eemmppttyy – empty implicit enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ An empty ⟨⟩ and a full ⟨user@host⟩ return path. And another ⟨full⟩ one.
+
+OpenBSD August 6, 2010 OpenBSD