summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ad/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ad/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ad/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Er/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Er/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Er/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/noarg.in20
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ic/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ic/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ic/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Makefile5
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ms/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ms/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ms/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nd/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nd/noarg.in8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nd/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/St/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/St/badargs.in20
-rw-r--r--regress/usr.bin/mandoc/mdoc/St/badargs.out_ascii16
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sx/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sx/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sx/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sy/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sy/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Sy/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Tn/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Tn/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Tn/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Vt/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Vt/noarg.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Vt/noarg.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Xr/args.in4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Xr/args.out_ascii2
-rw-r--r--regress/usr.bin/mandoc/roff/Makefile4
-rw-r--r--regress/usr.bin/mandoc/roff/ps/Makefile6
-rw-r--r--regress/usr.bin/mandoc/roff/ps/ignore.in9
-rw-r--r--regress/usr.bin/mandoc/roff/ps/ignore.out_ascii12
43 files changed, 366 insertions, 9 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ad/Makefile b/regress/usr.bin/mandoc/mdoc/Ad/Makefile
new file mode 100644
index 00000000000..862df5a1502
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ad/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:11 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ad/noarg.in b/regress/usr.bin/mandoc/mdoc/Ad/noarg.in
new file mode 100644
index 00000000000..f9fda498c8f
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ad/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt AD-NOARG 1
+.Os
+.Sh NAME
+.Nm Ad-noarg
+.Nd address macro without an argument
+.Sh DESCRIPTION
+with address:
+.Ad 0x3bc
+no address:
+.Ad
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_ascii
new file mode 100644
index 00000000000..a1c18b92cd0
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_ascii
@@ -0,0 +1,8 @@
+AD-NOARG(1) OpenBSD Reference Manual AD-NOARG(1)
+
+NNAAMMEE
+ AAdd--nnooaarrgg - address macro without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with address: _0_x_3_b_c no address: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/Makefile b/regress/usr.bin/mandoc/mdoc/Cd/Makefile
new file mode 100644
index 00000000000..862df5a1502
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Cd/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:11 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/noarg.in b/regress/usr.bin/mandoc/mdoc/Cd/noarg.in
new file mode 100644
index 00000000000..145cc2ce678
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Cd/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt CD-NOARG 1
+.Os
+.Sh NAME
+.Nm Cd-noarg
+.Nd kernel configuration directive without arguments
+.Sh DESCRIPTION
+with arguments:
+.Cd wd* at pciide?
+without arguments:
+.Cd
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_ascii
new file mode 100644
index 00000000000..87d7a05f3de
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Cd/noarg.out_ascii
@@ -0,0 +1,8 @@
+CD-NOARG(1) OpenBSD Reference Manual CD-NOARG(1)
+
+NNAAMMEE
+ CCdd--nnooaarrgg - kernel configuration directive without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ with arguments: wwdd** aatt ppcciiiiddee?? without arguments: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Er/Makefile b/regress/usr.bin/mandoc/mdoc/Er/Makefile
new file mode 100644
index 00000000000..862df5a1502
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Er/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:11 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Er/noarg.in b/regress/usr.bin/mandoc/mdoc/Er/noarg.in
new file mode 100644
index 00000000000..f7c188bf157
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Er/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt ER-NOARG 1
+.Os
+.Sh NAME
+.Nm Er-noarg
+.Nd error constant macro without an argument
+.Sh DESCRIPTION
+with error:
+.Er ENOENT
+no error:
+.Er
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Er/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Er/noarg.out_ascii
new file mode 100644
index 00000000000..ceb5b564eb3
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Er/noarg.out_ascii
@@ -0,0 +1,8 @@
+ER-NOARG(1) OpenBSD Reference Manual ER-NOARG(1)
+
+NNAAMMEE
+ EErr--nnooaarrgg - error constant macro without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with error: ENOENT no error: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/Makefile b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
index 88c7673e6b0..8b2bde1162b 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2010/07/01 05:29:57 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2011/02/05 18:19:11 schwarze Exp $
-REGRESS_TARGETS=section
-GROFF_TARGETS=section
+REGRESS_TARGETS=section noarg
+GROFF_TARGETS=section noarg
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.in b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in
new file mode 100644
index 00000000000..47bb64b51bb
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in
@@ -0,0 +1,20 @@
+.Dd January 19, 2011
+.Dt FN-NOARG 1
+.Os
+.Sh NAME
+.Nm Fn-noarg
+.Nd function name macro without arguments
+.Sh DESCRIPTION
+with arguments:
+.Ft int
+.Fn abs "int i"
+no name arguments:
+.Ft int
+.Fn
+no type arguments:
+.Ft
+.Fn abs "int i"
+no arguments at all:
+.Ft
+.Fn
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii
new file mode 100644
index 00000000000..bbb13b67597
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii
@@ -0,0 +1,9 @@
+FN-NOARG(1) OpenBSD Reference Manual FN-NOARG(1)
+
+NNAAMMEE
+ FFnn--nnooaarrgg - function name macro without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ with arguments: _i_n_t aabbss(_i_n_t _i) no name arguments: _i_n_t no type arguments:
+ aabbss(_i_n_t _i) no arguments at all: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Ic/Makefile b/regress/usr.bin/mandoc/mdoc/Ic/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ic/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ic/noarg.in b/regress/usr.bin/mandoc/mdoc/Ic/noarg.in
new file mode 100644
index 00000000000..d204754efa5
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ic/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt IC-NOARG 1
+.Os
+.Sh NAME
+.Nm Ic-noarg
+.Nd interactive command without an argument
+.Sh DESCRIPTION
+with command:
+.Ic ls
+no command:
+.Ic
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_ascii
new file mode 100644
index 00000000000..d11e0ae0dcd
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ic/noarg.out_ascii
@@ -0,0 +1,8 @@
+IC-NOARG(1) OpenBSD Reference Manual IC-NOARG(1)
+
+NNAAMMEE
+ IIcc--nnooaarrgg - interactive command without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with command: llss no command: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile
index 7e4ec7d22e0..3bd68247598 100644
--- a/regress/usr.bin/mandoc/mdoc/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.11 2011/01/30 18:28:02 schwarze Exp $
+# $OpenBSD: Makefile,v 1.12 2011/02/05 18:19:11 schwarze Exp $
-SUBDIR+= Ar At Bd Bk Bl Bx Fl Fo In Lb Li Mt Nm Op Rs Sm Xr
+SUBDIR+= Ad Ar At Bd Bk Bl Bx Cd Er Fl Fo Ic In
+SUBDIR+= Lb Li Ms Mt Nd Nm Op Rs Sm St Sx Sy Tn Vt Xr
SUBDIR+= blank
# disabled, mandoc must be fixed:
diff --git a/regress/usr.bin/mandoc/mdoc/Ms/Makefile b/regress/usr.bin/mandoc/mdoc/Ms/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ms/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Ms/noarg.in b/regress/usr.bin/mandoc/mdoc/Ms/noarg.in
new file mode 100644
index 00000000000..d632a8ea488
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ms/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt MS-NOARG 1
+.Os
+.Sh NAME
+.Nm Ms-noarg
+.Nd mathematical symbol without an argument
+.Sh DESCRIPTION
+with command:
+.Ms alpha
+no command:
+.Ms
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_ascii
new file mode 100644
index 00000000000..eb00d6621c5
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Ms/noarg.out_ascii
@@ -0,0 +1,8 @@
+MS-NOARG(1) OpenBSD Reference Manual MS-NOARG(1)
+
+NNAAMMEE
+ MMss--nnooaarrgg - mathematical symbol without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with command: aallpphhaa no command: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Nd/Makefile b/regress/usr.bin/mandoc/mdoc/Nd/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Nd/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Nd/noarg.in b/regress/usr.bin/mandoc/mdoc/Nd/noarg.in
new file mode 100644
index 00000000000..a7dd9624263
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Nd/noarg.in
@@ -0,0 +1,8 @@
+.Dd January 2, 2011
+.Dt ND-ARG0 1
+.Os
+.Sh NAME
+.Nm Nd-arg0
+.Nd
+.Sh DESCRIPTION
+empty description line
diff --git a/regress/usr.bin/mandoc/mdoc/Nd/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Nd/noarg.out_ascii
new file mode 100644
index 00000000000..dfb48048ff9
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Nd/noarg.out_ascii
@@ -0,0 +1,8 @@
+ND-ARG0(1) OpenBSD Reference Manual ND-ARG0(1)
+
+NNAAMMEE
+ NNdd--aarrgg00 -
+
+DDEESSCCRRIIPPTTIIOONN
+ empty description line
+
diff --git a/regress/usr.bin/mandoc/mdoc/St/Makefile b/regress/usr.bin/mandoc/mdoc/St/Makefile
new file mode 100644
index 00000000000..4c5e90d9964
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/St/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=badargs
+GROFF_TARGETS=badargs
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/St/badargs.in b/regress/usr.bin/mandoc/mdoc/St/badargs.in
new file mode 100644
index 00000000000..77cd7fda699
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/St/badargs.in
@@ -0,0 +1,20 @@
+.Dd June 30, 2010
+.Dt ST-INVALID 1
+.Os
+.Sh NAME
+.Nm St-invalid
+.Nd handling of invalid standard argument
+.Sh STANDARDS
+valid argument:
+.St -p1003.1-2004
+.Pp
+invalid argument:
+.St -murks
+.Pp
+no arguments:
+.St
+.Pp
+two arguments:
+.St -p1003.1-2004 murks
+.Pp
+end of file
diff --git a/regress/usr.bin/mandoc/mdoc/St/badargs.out_ascii b/regress/usr.bin/mandoc/mdoc/St/badargs.out_ascii
new file mode 100644
index 00000000000..a509945776a
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/St/badargs.out_ascii
@@ -0,0 +1,16 @@
+ST-INVALID(1) OpenBSD Reference Manual ST-INVALID(1)
+
+NNAAMMEE
+ SStt--iinnvvaalliidd - handling of invalid standard argument
+
+SSTTAANNDDAARRDDSS
+ valid argument: IEEE Std 1003.1-2004 (``POSIX.1'')
+
+ invalid argument:
+
+ no arguments:
+
+ two arguments: IEEE Std 1003.1-2004 (``POSIX.1'') murks
+
+ end of file
+
diff --git a/regress/usr.bin/mandoc/mdoc/Sx/Makefile b/regress/usr.bin/mandoc/mdoc/Sx/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sx/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Sx/noarg.in b/regress/usr.bin/mandoc/mdoc/Sx/noarg.in
new file mode 100644
index 00000000000..957b887ccc5
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sx/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt SX-NOARG 1
+.Os
+.Sh NAME
+.Nm Sx-noarg
+.Nd internal cross reference without a target
+.Sh DESCRIPTION
+with target:
+.Sx DESCRIPTION
+no target:
+.Sx
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_ascii
new file mode 100644
index 00000000000..18e0c03cc3c
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sx/noarg.out_ascii
@@ -0,0 +1,8 @@
+SX-NOARG(1) OpenBSD Reference Manual SX-NOARG(1)
+
+NNAAMMEE
+ SSxx--nnooaarrgg - internal cross reference without a target
+
+DDEESSCCRRIIPPTTIIOONN
+ with target: _D_E_S_C_R_I_P_T_I_O_N no target: end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Sy/Makefile b/regress/usr.bin/mandoc/mdoc/Sy/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sy/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Sy/noarg.in b/regress/usr.bin/mandoc/mdoc/Sy/noarg.in
new file mode 100644
index 00000000000..d9e5a291be7
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sy/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt SY-NOARG 1
+.Os
+.Sh NAME
+.Nm Sy-noarg
+.Nd symbolic macro without arguments
+.Sh DESCRIPTION
+with argument
+.Sy arg
+no argument
+.Sy
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_ascii
new file mode 100644
index 00000000000..95542f1a674
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Sy/noarg.out_ascii
@@ -0,0 +1,8 @@
+SY-NOARG(1) OpenBSD Reference Manual SY-NOARG(1)
+
+NNAAMMEE
+ SSyy--nnooaarrgg - symbolic macro without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ with argument aarrgg no argument end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Tn/Makefile b/regress/usr.bin/mandoc/mdoc/Tn/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Tn/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Tn/noarg.in b/regress/usr.bin/mandoc/mdoc/Tn/noarg.in
new file mode 100644
index 00000000000..84ddf38012c
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Tn/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 19, 2011
+.Dt TN-NOARG 1
+.Os
+.Sh NAME
+.Nm Tn-noarg
+.Nd trade name macro without argument
+.Sh DESCRIPTION
+with argument
+.Tn IBM
+no argument
+.Tn
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_ascii
new file mode 100644
index 00000000000..24250dfab6a
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_ascii
@@ -0,0 +1,8 @@
+TN-NOARG(1) OpenBSD Reference Manual TN-NOARG(1)
+
+NNAAMMEE
+ TTnn--nnooaarrgg - trade name macro without argument
+
+DDEESSCCRRIIPPTTIIOONN
+ with argument IBM no argument end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Vt/Makefile b/regress/usr.bin/mandoc/mdoc/Vt/Makefile
new file mode 100644
index 00000000000..c490d73f326
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Vt/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=noarg
+GROFF_TARGETS=noarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Vt/noarg.in b/regress/usr.bin/mandoc/mdoc/Vt/noarg.in
new file mode 100644
index 00000000000..1a3ef05b0c9
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Vt/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 20, 2011
+.Dt VT-NOARG 1
+.Os
+.Sh NAME
+.Nm Vt-noarg
+.Nd variable type macro without arguments
+.Sh DESCRIPTION
+with arguments
+.Vt signed int
+no arguments
+.Vt
+end of test document
diff --git a/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_ascii
new file mode 100644
index 00000000000..99dca5ea801
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Vt/noarg.out_ascii
@@ -0,0 +1,8 @@
+VT-NOARG(1) OpenBSD Reference Manual VT-NOARG(1)
+
+NNAAMMEE
+ VVtt--nnooaarrgg - variable type macro without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ with arguments _s_i_g_n_e_d _i_n_t no arguments end of test document
+
diff --git a/regress/usr.bin/mandoc/mdoc/Xr/args.in b/regress/usr.bin/mandoc/mdoc/Xr/args.in
index c5d4c426764..02caa15b108 100644
--- a/regress/usr.bin/mandoc/mdoc/Xr/args.in
+++ b/regress/usr.bin/mandoc/mdoc/Xr/args.in
@@ -20,6 +20,8 @@ A call, an
another
.Xr echo 1 .
.Pp
-Finally, no
+Finally, half an
+.Xr echo
+and no
.Xr
echo at all.
diff --git a/regress/usr.bin/mandoc/mdoc/Xr/args.out_ascii b/regress/usr.bin/mandoc/mdoc/Xr/args.out_ascii
index 3fba0dd9796..96278b4908f 100644
--- a/regress/usr.bin/mandoc/mdoc/Xr/args.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Xr/args.out_ascii
@@ -12,5 +12,5 @@ DDEESSCCRRIIPPTTIIOONN
A call, an echo(1), and another echo(1).
- Finally, no echo at all.
+ Finally, half an echo and no echo at all.
diff --git a/regress/usr.bin/mandoc/roff/Makefile b/regress/usr.bin/mandoc/roff/Makefile
index 96d857a8c8d..3d1211bd8fd 100644
--- a/regress/usr.bin/mandoc/roff/Makefile
+++ b/regress/usr.bin/mandoc/roff/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.5 2011/01/17 00:15:19 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2011/02/05 18:19:12 schwarze Exp $
-SUBDIR+= args cond string br na rm sp
+SUBDIR+= args cond string br na ps rm sp
groff groff-clean: _SUBDIRUSE
diff --git a/regress/usr.bin/mandoc/roff/ps/Makefile b/regress/usr.bin/mandoc/roff/ps/Makefile
new file mode 100644
index 00000000000..6a1aa28f4d2
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/ps/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/02/05 18:19:12 schwarze Exp $
+
+REGRESS_TARGETS=ignore
+GROFF_TARGETS=ignore
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/roff/ps/ignore.in b/regress/usr.bin/mandoc/roff/ps/ignore.in
new file mode 100644
index 00000000000..a7ac2ee319a
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/ps/ignore.in
@@ -0,0 +1,9 @@
+.TH PS-IGNORE 1
+.SH NAME
+ps-ignore \- ignoreing point size macros
+.SH DESCRIPTION
+normal text
+.ps -1
+small text
+.ps +1
+big text
diff --git a/regress/usr.bin/mandoc/roff/ps/ignore.out_ascii b/regress/usr.bin/mandoc/roff/ps/ignore.out_ascii
new file mode 100644
index 00000000000..60000c6100b
--- /dev/null
+++ b/regress/usr.bin/mandoc/roff/ps/ignore.out_ascii
@@ -0,0 +1,12 @@
+PS-IGNORE(1) PS-IGNORE(1)
+
+
+
+NNAAMMEE
+ ps-ignore - ignoreing point size macros
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text small text big text
+
+
+