diff options
Diffstat (limited to 'regress/roff/ft')
-rw-r--r-- | regress/roff/ft/Makefile | 6 | ||||
-rw-r--r-- | regress/roff/ft/badargs.in | 15 | ||||
-rw-r--r-- | regress/roff/ft/badargs.out_ascii | 13 | ||||
-rw-r--r-- | regress/roff/ft/badargs.out_lint | 2 |
4 files changed, 36 insertions, 0 deletions
diff --git a/regress/roff/ft/Makefile b/regress/roff/ft/Makefile new file mode 100644 index 00000000..f57fe72b --- /dev/null +++ b/regress/roff/ft/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2014/07/05 12:33:54 schwarze Exp $ + +REGRESS_TARGETS = badargs +LINT_TARGETS = badargs + +.include <bsd.regress.mk> diff --git a/regress/roff/ft/badargs.in b/regress/roff/ft/badargs.in new file mode 100644 index 00000000..2cb01b20 --- /dev/null +++ b/regress/roff/ft/badargs.in @@ -0,0 +1,15 @@ +.TH "FT-BADARGS" 1 "July 5, 2014" OpenBSD +.SH NAME +ft-badargs \(en font request with bad arguments +.SH DESCRIPTION +default font +.ft B +bold +.ft foo +still bold +.ft I bogus +italic +.ft P +back to bold +.ft +back to italic diff --git a/regress/roff/ft/badargs.out_ascii b/regress/roff/ft/badargs.out_ascii new file mode 100644 index 00000000..30bfed3c --- /dev/null +++ b/regress/roff/ft/badargs.out_ascii @@ -0,0 +1,13 @@ +FT-BADARGS(1) General Commands Manual FT-BADARGS(1) + + + +NNAAMMEE + ft-badargs - font request with bad arguments + +DDEESSCCRRIIPPTTIIOONN + default font bboolldd ssttiillll bboolldd _i_t_a_l_i_c bbaacckk ttoo bboolldd _b_a_c_k _t_o _i_t_a_l_i_c + + + +OpenBSD July 5, 2014 FT-BADARGS(1) diff --git a/regress/roff/ft/badargs.out_lint b/regress/roff/ft/badargs.out_lint new file mode 100644 index 00000000..f84d7ea9 --- /dev/null +++ b/regress/roff/ft/badargs.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs.in:10:7: ERROR: skipping excess arguments: ft ... bogus +mandoc: badargs.in:8:2: WARNING: unknown font, skipping request: ft foo |