summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-08 18:38:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-08 18:38:08 +0000
commit6a326bc95f2a4393baec9ff356dba5e08f27da08 (patch)
treebb37466ec9ddd91a426f62ac52b2cf6f8fc0e4a5 /regress
parent9976b83449e683ec2d905b9b86d6a1caf9cbbcec (diff)
fix vertical spacing for -Tman SYNOPSIS .Fn .Fo .Ft .In .Nm .Va .Vt
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/basic.in24
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/basic.out_ascii16
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/break.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/In/break.out_ascii5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Va/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Va/basic.in14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Va/basic.out_ascii10
10 files changed, 90 insertions, 10 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/Makefile b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
index 0b75bdae4f6..a08826a0d30 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
@@ -1,11 +1,9 @@
-# $OpenBSD: Makefile,v 1.3 2011/11/17 16:28:45 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2012/07/08 18:38:07 schwarze Exp $
-REGRESS_TARGETS=section noarg
+REGRESS_TARGETS = basic section noarg
# groff 1.21 does not handle .nr nS
SKIP_GROFF ?= section
-SKIP_TMAN ?= ALL
-
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/basic.in b/regress/usr.bin/mandoc/mdoc/Fo/basic.in
new file mode 100644
index 00000000000..5572ba63385
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/basic.in
@@ -0,0 +1,24 @@
+.Dd July 7, 2012
+.Dt FO-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fo-basic
+.Nd function blocks
+.Sh SYNOPSIS
+.Ft double
+.Fo sin
+.Fa "double x"
+.Fc
+.Ft double
+.Fo atan2
+.Fa "double y" "double x"
+.Fc
+.Sh DESCRIPTION
+.Ft double
+.Fo sin
+.Fa "double x"
+.Fc
+.Ft double
+.Fo atan2
+.Fa "double y" "double x"
+.Fc
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/basic.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/basic.out_ascii
new file mode 100644
index 00000000000..9d8288232b1
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/basic.out_ascii
@@ -0,0 +1,16 @@
+FO-BASIC(1) OpenBSD Reference Manual FO-BASIC(1)
+
+NNAAMMEE
+ FFoo--bbaassiicc - function blocks
+
+SSYYNNOOPPSSIISS
+ _d_o_u_b_l_e
+ ssiinn(_d_o_u_b_l_e _x);
+
+ _d_o_u_b_l_e
+ aattaann22(_d_o_u_b_l_e _y, _d_o_u_b_l_e _x);
+
+DDEESSCCRRIIPPTTIIOONN
+ _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) _d_o_u_b_l_e aattaann22(_d_o_u_b_l_e _y, _d_o_u_b_l_e _x)
+
+OpenBSD July 7, 2012 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/In/Makefile b/regress/usr.bin/mandoc/mdoc/In/Makefile
index e7452841ca7..85ed4ec65aa 100644
--- a/regress/usr.bin/mandoc/mdoc/In/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/In/Makefile
@@ -1,7 +1,5 @@
-# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2012/07/08 18:38:07 schwarze Exp $
-REGRESS_TARGETS=break
-
-SKIP_TMAN ?= break
+REGRESS_TARGETS = break
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/In/break.in b/regress/usr.bin/mandoc/mdoc/In/break.in
index 7e156be74a9..0e26731bced 100644
--- a/regress/usr.bin/mandoc/mdoc/In/break.in
+++ b/regress/usr.bin/mandoc/mdoc/In/break.in
@@ -14,3 +14,13 @@
.Fn dup "int oldd"
.Ft ssize_t
.Fn write "int d" "const void *buf" "size_t nbytes"
+.Sh DESCRIPTION
+.In fcntl.h
+.Ft int
+.Fn open "const char *path" "int flags" "mode_t mode"
+.In sys/types.h
+.In unistd.h
+.Ft int
+.Fn dup "int oldd"
+.Ft ssize_t
+.Fn write "int d" "const void *buf" "size_t nbytes"
diff --git a/regress/usr.bin/mandoc/mdoc/In/break.out_ascii b/regress/usr.bin/mandoc/mdoc/In/break.out_ascii
index 6811a698aee..51b2de76943 100644
--- a/regress/usr.bin/mandoc/mdoc/In/break.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/In/break.out_ascii
@@ -18,4 +18,9 @@ SSYYNNOOPPSSIISS
_s_s_i_z_e___t
wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s);
+DDEESSCCRRIIPPTTIIOONN
+ <_f_c_n_t_l_._h> _i_n_t ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e)
+ <_s_y_s_/_t_y_p_e_s_._h> <_u_n_i_s_t_d_._h> _i_n_t dduupp(_i_n_t _o_l_d_d) _s_s_i_z_e___t wwrriittee(_i_n_t _d, _c_o_n_s_t
+ _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s)
+
OpenBSD June 6, 2010 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile
index ce5b7afc7e7..bbc61f82c50 100644
--- a/regress/usr.bin/mandoc/mdoc/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.19 2012/07/08 16:50:36 schwarze Exp $
+# $OpenBSD: Makefile,v 1.20 2012/07/08 18:38:07 schwarze Exp $
SUBDIR += Ad An Ap Aq Ar At Bd Bk Bl Brq Bx Cd Cm D1 Dl Dq Dv Er Ev Fl Fo
SUBDIR += Ic In Lb Li Ms Mt Nd Nm No Ns Oo Op Ox Pf Pp Qq Rs
-SUBDIR += Sm Sq St Sx Sy Tn Ux Vt Xr blank
+SUBDIR += Sm Sq St Sx Sy Tn Ux Va Vt Xr blank
# disabled, mandoc must be fixed:
# Pa
diff --git a/regress/usr.bin/mandoc/mdoc/Va/Makefile b/regress/usr.bin/mandoc/mdoc/Va/Makefile
new file mode 100644
index 00000000000..a2d48cd8c19
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Va/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/07/08 18:38:07 schwarze Exp $
+
+REGRESS_TARGETS = basic
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Va/basic.in b/regress/usr.bin/mandoc/mdoc/Va/basic.in
new file mode 100644
index 00000000000..5ce4718a71e
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Va/basic.in
@@ -0,0 +1,14 @@
+.Dd July 8, 2012
+.Dt VA-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm Va-basic
+.Nd basic usage of the variable name macro
+.Sh DESCRIPTION
+Both
+.Vt char *
+.Va malloc_options
+and
+.Vt int
+.Va errno
+are typical examples of global variables.
diff --git a/regress/usr.bin/mandoc/mdoc/Va/basic.out_ascii b/regress/usr.bin/mandoc/mdoc/Va/basic.out_ascii
new file mode 100644
index 00000000000..d7bbe539dab
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Va/basic.out_ascii
@@ -0,0 +1,10 @@
+VA-BASIC(1) OpenBSD Reference Manual VA-BASIC(1)
+
+NNAAMMEE
+ VVaa--bbaassiicc - basic usage of the variable name macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Both _c_h_a_r _* _m_a_l_l_o_c___o_p_t_i_o_n_s and _i_n_t _e_r_r_n_o are typical examples of global
+ variables.
+
+OpenBSD July 8, 2012 OpenBSD