From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/roff/ll/Makefile | 7 +++++++ regress/roff/ll/basic.in | 25 +++++++++++++++++++++++++ regress/roff/ll/basic.out_ascii | 23 +++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 regress/roff/ll/Makefile create mode 100644 regress/roff/ll/basic.in create mode 100644 regress/roff/ll/basic.out_ascii (limited to 'regress/roff/ll') 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 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 -- cgit v1.2.3-56-ge451