summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-12-04 03:09:25 +0000
committerschwarze <schwarze@openbsd.org>2011-12-04 03:09:25 +0000
commit27ef7a85ee8528033d0f914f2bf9feb6ece7fe4b (patch)
tree35c288aaed253a559194c3d15801ce98ef23e6d6
parentrenaming synaptics_pt_* -> pms_sec_* (diff)
downloadwireguard-openbsd-27ef7a85ee8528033d0f914f2bf9feb6ece7fe4b.tar.xz
wireguard-openbsd-27ef7a85ee8528033d0f914f2bf9feb6ece7fe4b.zip
test some simple macros; written while working on -Tman
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ap/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ap/middle.in8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ap/middle.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Aq/empty.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Brq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Brq/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Brq/empty.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dq/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dq/empty.out_ascii10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dv/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dv/font.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Dv/font.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ev/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ev/font.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ev/font.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Qq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Qq/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Qq/empty.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sq/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sq/empty.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sq/empty.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ux/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ux/spacing.in20
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ux/spacing.out_ascii11
27 files changed, 247 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ap/Makefile b/regress/usr.bin/mandoc/mdoc/Ap/Makefile
new file mode 100644
index 00000000000..dfa81cedcfe
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ap/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=middle
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ap/middle.in b/regress/usr.bin/mandoc/mdoc/Ap/middle.in
new file mode 100644
index 00000000000..a4171b46063
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ap/middle.in
@@ -0,0 +1,8 @@
+.Dd September 30, 2011
+.Dt AP-MIDDLE 1
+.Os
+.Sh NAME
+.Nm Ap-middle
+.Nd apostrophe in the middle of a macro line
+.Sh DESCRIPTION
+.Xr mandoc 1 Ap s
diff --git a/regress/usr.bin/mandoc/mdoc/Ap/middle.out_ascii b/regress/usr.bin/mandoc/mdoc/Ap/middle.out_ascii
new file mode 100644
index 00000000000..8741078beef
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ap/middle.out_ascii
@@ -0,0 +1,9 @@
+AP-MIDDLE(1) OpenBSD Reference Manual AP-MIDDLE(1)
+
+NNAAMMEE
+ AApp--mmiiddddllee - apostrophe in the middle of a macro line
+
+DDEESSCCRRIIPPTTIIOONN
+ mandoc(1)'s
+
+OpenBSD 5.0 September 30, 2011 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/Makefile b/regress/usr.bin/mandoc/mdoc/Aq/Makefile
new file mode 100644
index 00000000000..24f19edf6af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=empty
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/empty.in b/regress/usr.bin/mandoc/mdoc/Aq/empty.in
new file mode 100644
index 00000000000..fdd98a20a1c
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/empty.in
@@ -0,0 +1,14 @@
+.Dd August 6, 2010
+.Dt AQ-EMPTY 1
+.Os
+.Sh NAME
+.Nm Aq-empty
+.Nd empty implicit enclosure macros
+.Sh DESCRIPTION
+An empty
+.Aq
+and a full
+.Aq user@host
+return path.
+And another
+.Ao full Ac one .
diff --git a/regress/usr.bin/mandoc/mdoc/Aq/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_ascii
new file mode 100644
index 00000000000..5a4fae71736
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Aq/empty.out_ascii
@@ -0,0 +1,9 @@
+AQ-EMPTY(1) OpenBSD Reference 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 5.0 August 6, 2010 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Brq/Makefile b/regress/usr.bin/mandoc/mdoc/Brq/Makefile
new file mode 100644
index 00000000000..24f19edf6af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Brq/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=empty
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Brq/empty.in b/regress/usr.bin/mandoc/mdoc/Brq/empty.in
new file mode 100644
index 00000000000..3f1c11aae0e
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Brq/empty.in
@@ -0,0 +1,14 @@
+.Dd October 21, 2010
+.Dt BRQ-EMPTY 1
+.Os
+.Sh NAME
+.Nm Brq-empty
+.Nd empty implicit enclosure macros
+.Sh DESCRIPTION
+An empty
+.Brq
+and a full
+.Brq user@host
+quotation.
+And another
+.Bro full Brc one .
diff --git a/regress/usr.bin/mandoc/mdoc/Brq/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Brq/empty.out_ascii
new file mode 100644
index 00000000000..84a12da3779
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Brq/empty.out_ascii
@@ -0,0 +1,9 @@
+BRQ-EMPTY(1) OpenBSD Reference Manual BRQ-EMPTY(1)
+
+NNAAMMEE
+ BBrrqq--eemmppttyy - empty implicit enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ An empty {} and a full {user@host} quotation. And another {full} one.
+
+OpenBSD 5.0 October 21, 2010 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Dq/Makefile b/regress/usr.bin/mandoc/mdoc/Dq/Makefile
new file mode 100644
index 00000000000..24f19edf6af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dq/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=empty
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Dq/empty.in b/regress/usr.bin/mandoc/mdoc/Dq/empty.in
new file mode 100644
index 00000000000..000f093d29b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dq/empty.in
@@ -0,0 +1,14 @@
+.Dd October 21, 2010
+.Dt DQ-EMPTY 1
+.Os
+.Sh NAME
+.Nm Dq-empty
+.Nd empty implicit enclosure macros
+.Sh DESCRIPTION
+An empty
+.Dq
+and a full
+.Dq user@host
+quotation.
+And another
+.Do full Dc one .
diff --git a/regress/usr.bin/mandoc/mdoc/Dq/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Dq/empty.out_ascii
new file mode 100644
index 00000000000..8485a1d22dd
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dq/empty.out_ascii
@@ -0,0 +1,10 @@
+DQ-EMPTY(1) OpenBSD Reference Manual DQ-EMPTY(1)
+
+NNAAMMEE
+ DDqq--eemmppttyy - empty implicit enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ An empty ``'' and a full ``user@host'' quotation. And another ``full''
+ one.
+
+OpenBSD 5.0 October 21, 2010 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Dv/Makefile b/regress/usr.bin/mandoc/mdoc/Dv/Makefile
new file mode 100644
index 00000000000..c17cc55e8c7
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dv/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=font
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Dv/font.in b/regress/usr.bin/mandoc/mdoc/Dv/font.in
new file mode 100644
index 00000000000..bd4efe75d1b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dv/font.in
@@ -0,0 +1,10 @@
+.Dd October 21, 2011
+.Dt DV-FONT 1
+.Os
+.Sh NAME
+.Nm Dv-font
+.Nd formatting of defined variables
+.Sh DESCRIPTION
+The
+.Dv BUFSIZ
+macro.
diff --git a/regress/usr.bin/mandoc/mdoc/Dv/font.out_ascii b/regress/usr.bin/mandoc/mdoc/Dv/font.out_ascii
new file mode 100644
index 00000000000..1ebeb8c119b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Dv/font.out_ascii
@@ -0,0 +1,9 @@
+DV-FONT(1) OpenBSD Reference Manual DV-FONT(1)
+
+NNAAMMEE
+ DDvv--ffoonntt - formatting of defined variables
+
+DDEESSCCRRIIPPTTIIOONN
+ The BUFSIZ macro.
+
+OpenBSD 5.0 October 21, 2011 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Ev/Makefile b/regress/usr.bin/mandoc/mdoc/Ev/Makefile
new file mode 100644
index 00000000000..c17cc55e8c7
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ev/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=font
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ev/font.in b/regress/usr.bin/mandoc/mdoc/Ev/font.in
new file mode 100644
index 00000000000..9f882b41160
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ev/font.in
@@ -0,0 +1,10 @@
+.Dd October 21, 2011
+.Dt EV-FONT 1
+.Os
+.Sh NAME
+.Nm Ev-font
+.Nd formatting of environment variables
+.Sh DESCRIPTION
+The
+.Ev PATH
+variable.
diff --git a/regress/usr.bin/mandoc/mdoc/Ev/font.out_ascii b/regress/usr.bin/mandoc/mdoc/Ev/font.out_ascii
new file mode 100644
index 00000000000..63718559900
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ev/font.out_ascii
@@ -0,0 +1,9 @@
+EV-FONT(1) OpenBSD Reference Manual EV-FONT(1)
+
+NNAAMMEE
+ EEvv--ffoonntt - formatting of environment variables
+
+DDEESSCCRRIIPPTTIIOONN
+ The PATH variable.
+
+OpenBSD 5.0 October 21, 2011 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Qq/Makefile b/regress/usr.bin/mandoc/mdoc/Qq/Makefile
new file mode 100644
index 00000000000..24f19edf6af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Qq/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=empty
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Qq/empty.in b/regress/usr.bin/mandoc/mdoc/Qq/empty.in
new file mode 100644
index 00000000000..62b3c96625b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Qq/empty.in
@@ -0,0 +1,14 @@
+.Dd October 21, 2010
+.Dt QQ-EMPTY 1
+.Os
+.Sh NAME
+.Nm Qq-empty
+.Nd empty implicit enclosure macros
+.Sh DESCRIPTION
+An empty
+.Qq
+and a full
+.Qq user@host
+quotation.
+And another
+.Qo full Qc one .
diff --git a/regress/usr.bin/mandoc/mdoc/Qq/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Qq/empty.out_ascii
new file mode 100644
index 00000000000..68499488422
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Qq/empty.out_ascii
@@ -0,0 +1,9 @@
+QQ-EMPTY(1) OpenBSD Reference Manual QQ-EMPTY(1)
+
+NNAAMMEE
+ QQqq--eemmppttyy - empty implicit enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ An empty "" and a full "user@host" quotation. And another "full" one.
+
+OpenBSD 5.0 October 21, 2010 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Sq/Makefile b/regress/usr.bin/mandoc/mdoc/Sq/Makefile
new file mode 100644
index 00000000000..24f19edf6af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sq/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=empty
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Sq/empty.in b/regress/usr.bin/mandoc/mdoc/Sq/empty.in
new file mode 100644
index 00000000000..27b7cf05a3b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sq/empty.in
@@ -0,0 +1,14 @@
+.Dd October 21, 2010
+.Dt SQ-EMPTY 1
+.Os
+.Sh NAME
+.Nm Sq-empty
+.Nd empty implicit enclosure macros
+.Sh DESCRIPTION
+An empty
+.Sq
+and a full
+.Sq user@host
+quotation.
+And another
+.So full Sc one .
diff --git a/regress/usr.bin/mandoc/mdoc/Sq/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Sq/empty.out_ascii
new file mode 100644
index 00000000000..7987b61b4af
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sq/empty.out_ascii
@@ -0,0 +1,9 @@
+SQ-EMPTY(1) OpenBSD Reference Manual SQ-EMPTY(1)
+
+NNAAMMEE
+ SSqq--eemmppttyy - empty implicit enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ An empty `' and a full `user@host' quotation. And another `full' one.
+
+OpenBSD 5.0 October 21, 2010 OpenBSD 5.0
diff --git a/regress/usr.bin/mandoc/mdoc/Ux/Makefile b/regress/usr.bin/mandoc/mdoc/Ux/Makefile
new file mode 100644
index 00000000000..7452c65a412
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ux/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
+
+REGRESS_TARGETS=spacing
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ux/spacing.in b/regress/usr.bin/mandoc/mdoc/Ux/spacing.in
new file mode 100644
index 00000000000..18d8cf6c74e
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ux/spacing.in
@@ -0,0 +1,20 @@
+.Dd October 20, 2011
+.Dt UX-SPACING 1
+.Os
+.Sh NAME
+.Nm Ux-spacing
+.Nd spacing around the Unix macro
+.Sh DESCRIPTION
+The
+.Ux
+family of operating systems, including
+.Nx ,
+.Ox ,
+.Fx ,
+.Dx
+and
+.Bsx .
+The system is
+.Ud
+The system
+.Bt
diff --git a/regress/usr.bin/mandoc/mdoc/Ux/spacing.out_ascii b/regress/usr.bin/mandoc/mdoc/Ux/spacing.out_ascii
new file mode 100644
index 00000000000..a591983efcb
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ux/spacing.out_ascii
@@ -0,0 +1,11 @@
+UX-SPACING(1) OpenBSD Reference Manual UX-SPACING(1)
+
+NNAAMMEE
+ UUxx--ssppaacciinngg - spacing around the Unix macro
+
+DDEESSCCRRIIPPTTIIOONN
+ The UNIX family of operating systems, including NetBSD, OpenBSD, FreeBSD,
+ DragonFly and BSD/OS. The system is currently under development. The
+ system is currently in beta test.
+
+OpenBSD 5.0 October 20, 2011 OpenBSD 5.0