diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-12-04 14:49:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-12-04 14:49:41 +0000 |
commit | 5a70a7ff2c3e5f307e33a143472baef121da059f (patch) | |
tree | 43f29729abaa878f9823066475bbfac630355a85 /regress/usr.bin/mandoc | |
parent | b3982872a1179aa45309d472f2943780c39bb0c4 (diff) |
add a few simple tests found in my tree
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/At/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/At/invalid.in | 17 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/At/invalid.out_ascii | 14 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Lb/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Lb/break.in | 12 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Lb/break.out_ascii | 12 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Mt/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Mt/simple.in | 9 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Mt/simple.out_ascii | 8 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Nm/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Nm/empty.in | 9 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Nm/empty.out_ascii | 9 |
13 files changed, 113 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/At/Makefile b/regress/usr.bin/mandoc/mdoc/At/Makefile new file mode 100644 index 00000000000..30342545728 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/At/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2010/12/04 14:49:40 schwarze Exp $ + +REGRESS_TARGETS=invalid + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/At/invalid.in b/regress/usr.bin/mandoc/mdoc/At/invalid.in new file mode 100644 index 00000000000..2984f15a8d7 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/At/invalid.in @@ -0,0 +1,17 @@ +.Dd June 30, 2010 +.Dt AT-INVALID 1 +.Os +.Sh NAME +.Nm At-invalid +.Nd handling of an invalid AT&T UNIX argument +.Sh DESCRIPTION +no argument: +.At +.Pp +valid argument: +.At v7 +.Pp +invalid argument: +.At murks +.Pp +end of file diff --git a/regress/usr.bin/mandoc/mdoc/At/invalid.out_ascii b/regress/usr.bin/mandoc/mdoc/At/invalid.out_ascii new file mode 100644 index 00000000000..11e2e2fe050 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/At/invalid.out_ascii @@ -0,0 +1,14 @@ +AT-INVALID(1) OpenBSD Reference Manual AT-INVALID(1) + +NNAAMMEE + AAtt--iinnvvaalliidd - handling of an invalid AT&T UNIX argument + +DDEESSCCRRIIPPTTIIOONN + no argument: AT&T UNIX + + valid argument: Version 7 AT&T UNIX + + invalid argument: AT&T UNIX murks + + end of file + diff --git a/regress/usr.bin/mandoc/mdoc/Lb/Makefile b/regress/usr.bin/mandoc/mdoc/Lb/Makefile new file mode 100644 index 00000000000..77a1fa61f31 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Lb/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2010/12/04 14:49:40 schwarze Exp $ + +REGRESS_TARGETS=break + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Lb/break.in b/regress/usr.bin/mandoc/mdoc/Lb/break.in new file mode 100644 index 00000000000..824dee66456 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Lb/break.in @@ -0,0 +1,12 @@ +.Dd June 30, 2010 +.Dt LB-BREAK 3 +.Os +.Sh NAME +.Nm Lb-break +.Nd output line breaks after the library macro +.Sh LIBRARY +.Lb libc +text +.Sh DESCRIPTION +.Lb libc +text diff --git a/regress/usr.bin/mandoc/mdoc/Lb/break.out_ascii b/regress/usr.bin/mandoc/mdoc/Lb/break.out_ascii new file mode 100644 index 00000000000..d0165b3b89c --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Lb/break.out_ascii @@ -0,0 +1,12 @@ +LB-BREAK(3) OpenBSD Programmer's Manual LB-BREAK(3) + +NNAAMMEE + LLbb--bbrreeaakk - output line breaks after the library macro + +LLIIBBRRAARRYY + Standard C Library (libc, -lc) + text + +DDEESSCCRRIIPPTTIIOONN + Standard C Library (libc, -lc) text + diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile index e2de1b8c178..ef653f748cd 100644 --- a/regress/usr.bin/mandoc/mdoc/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.8 2010/07/01 05:29:57 schwarze Exp $ +# $OpenBSD: Makefile,v 1.9 2010/12/04 14:49:40 schwarze Exp $ -SUBDIR+= Ar Bd Bl Fl Fo In Li Op Rs Sm Xr +SUBDIR+= Ar At Bd Bl Fl Fo In Lb Li Mt Nm Op Rs Sm Xr SUBDIR+= blank # disabled, mandoc must be fixed: diff --git a/regress/usr.bin/mandoc/mdoc/Mt/Makefile b/regress/usr.bin/mandoc/mdoc/Mt/Makefile new file mode 100644 index 00000000000..99c76d08b69 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Mt/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2010/12/04 14:49:40 schwarze Exp $ + +REGRESS_TARGETS=simple + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Mt/simple.in b/regress/usr.bin/mandoc/mdoc/Mt/simple.in new file mode 100644 index 00000000000..f91ab36b301 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Mt/simple.in @@ -0,0 +1,9 @@ +.Dd February 17, 2010 +.Dt MT-SIMPLE 1 +.Os +.Sh NAME +.Nm Mt-simple +.Nd mailto +.Sh DESCRIPTION +Please send mail to +.Mt schwarze@openbsd.org . diff --git a/regress/usr.bin/mandoc/mdoc/Mt/simple.out_ascii b/regress/usr.bin/mandoc/mdoc/Mt/simple.out_ascii new file mode 100644 index 00000000000..568bcdcba85 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Mt/simple.out_ascii @@ -0,0 +1,8 @@ +MT-SIMPLE(1) OpenBSD Reference Manual MT-SIMPLE(1) + +NNAAMMEE + MMtt--ssiimmppllee - mailto + +DDEESSCCRRIIPPTTIIOONN + Please send mail to _s_c_h_w_a_r_z_e_@_o_p_e_n_b_s_d_._o_r_g. + diff --git a/regress/usr.bin/mandoc/mdoc/Nm/Makefile b/regress/usr.bin/mandoc/mdoc/Nm/Makefile new file mode 100644 index 00000000000..aafc9bec96a --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Nm/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2010/12/04 14:49:40 schwarze Exp $ + +REGRESS_TARGETS=empty +GROFF_TARGETS=empty + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Nm/empty.in b/regress/usr.bin/mandoc/mdoc/Nm/empty.in new file mode 100644 index 00000000000..ad5dc5f1194 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Nm/empty.in @@ -0,0 +1,9 @@ +.Dd June 30, 2010 +.Dt NM-EMPTY 2 +.Os +.Sh NAME +.Nm Nm-empty +.Nd handling of empty name macros +.Sh SYNOPSIS +.Nm +.Nm diff --git a/regress/usr.bin/mandoc/mdoc/Nm/empty.out_ascii b/regress/usr.bin/mandoc/mdoc/Nm/empty.out_ascii new file mode 100644 index 00000000000..4757d135a46 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Nm/empty.out_ascii @@ -0,0 +1,9 @@ +NM-EMPTY(2) OpenBSD Programmer's Manual NM-EMPTY(2) + +NNAAMMEE + NNmm--eemmppttyy - handling of empty name macros + +SSYYNNOOPPSSIISS + NNmm--eemmppttyy + NNmm--eemmppttyy + |