diff options
Diffstat (limited to 'regress/roff/ll')
-rw-r--r-- | regress/roff/ll/Makefile | 7 | ||||
-rw-r--r-- | regress/roff/ll/basic.in | 25 | ||||
-rw-r--r-- | regress/roff/ll/basic.out_ascii | 23 |
3 files changed, 55 insertions, 0 deletions
diff --git a/regress/roff/ll/Makefile b/regress/roff/ll/Makefile new file mode 100644 index 00000000..c8c99b9c --- /dev/null +++ b/regress/roff/ll/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2014/03/30 19:47:32 schwarze Exp $ + +REGRESS_TARGETS = basic + +SKIP_TMAN = + +.include <bsd.regress.mk> diff --git a/regress/roff/ll/basic.in b/regress/roff/ll/basic.in new file mode 100644 index 00000000..9f03a517 --- /dev/null +++ b/regress/roff/ll/basic.in @@ -0,0 +1,25 @@ +.Dd February 5, 2014 +.Dt LL-BASIC 1 +.Os OpenBSD +.Sh NAME +.Nm ll-basic +.Nd changing the line length +.Sh DESCRIPTION +This is a longer text to demonstrate the default line length. +In ASCII mode, it is expected to break at column 78. +.Pp +.ll 38n +This is another long text to demonstrate shorter lines. +In ASCII mode, it is expected to break at column 38. +.Pp +.ll +This is a longer text after switching back to the default line length. +In ASCII mode, it is expected to break at column 78. +.Pp +.ll +100n +This is another long text to demonstrate longer lines. +In ASCII mode, it is not expected to break at all. +.Pp +.ll FOO +This is a longer text after switching to an invalid line length. +In ASCII mode, it is expected to break at column 78. diff --git a/regress/roff/ll/basic.out_ascii b/regress/roff/ll/basic.out_ascii new file mode 100644 index 00000000..b5448e24 --- /dev/null +++ b/regress/roff/ll/basic.out_ascii @@ -0,0 +1,23 @@ +LL-BASIC(1) General Commands Manual LL-BASIC(1) + +NNAAMMEE + llll--bbaassiicc - changing the line length + +DDEESSCCRRIIPPTTIIOONN + This is a longer text to demonstrate the default line length. In ASCII + mode, it is expected to break at column 78. + + This is another long text to + demonstrate shorter lines. In + ASCII mode, it is expected to + break at column 38. + + This is a longer text after switching back to the default line length. + In ASCII mode, it is expected to break at column 78. + + This is another long text to demonstrate longer lines. In ASCII mode, it is not expected to break at all. + + This is a longer text after switching to an invalid line length. In + ASCII mode, it is expected to break at column 78. + +OpenBSD February 5, 2014 OpenBSD |