From 6cf23e79eacb40b38dccfa2e1d89e593de735ea1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 4 Jan 2019 01:11:27 +0000 Subject: test the roff(7) .ce and .rj requests; they were already supported in the past --- regress/roff/Makefile | 4 ++-- regress/roff/ce/Makefile | 5 +++++ regress/roff/ce/basic.in | 17 +++++++++++++++++ regress/roff/ce/basic.out_ascii | 19 +++++++++++++++++++ 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 regress/roff/ce/Makefile create mode 100644 regress/roff/ce/basic.in create mode 100644 regress/roff/ce/basic.out_ascii diff --git a/regress/roff/Makefile b/regress/roff/Makefile index 036a66e5..9c9580f1 100644 --- a/regress/roff/Makefile +++ b/regress/roff/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.27 2018/08/25 16:46:28 schwarze Exp $ +# $OpenBSD: Makefile,v 1.28 2019/01/04 01:06:44 schwarze Exp $ SUBDIR = args cond esc scale string -SUBDIR += br cc char de ds ft ig it ll na nr po ps +SUBDIR += br cc ce char de ds ft ig it ll na nr po ps SUBDIR += return rm rn shift sp ta ti tr while .include "../Makefile.sub" diff --git a/regress/roff/ce/Makefile b/regress/roff/ce/Makefile new file mode 100644 index 00000000..2024bdce --- /dev/null +++ b/regress/roff/ce/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2019/01/04 01:06:44 schwarze Exp $ + +REGRESS_TARGETS = basic + +.include diff --git a/regress/roff/ce/basic.in b/regress/roff/ce/basic.in new file mode 100644 index 00000000..9930d56b --- /dev/null +++ b/regress/roff/ce/basic.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: basic.in,v 1.1 2019/01/04 01:06:44 schwarze Exp $ +.TH CE-BASIC 1 "January 4, 2019" +.SH NAME +ce-basic \- basic usage of the centering request +.SH DESCRIPTION +initial +text +.ce 2 +Text centered with the .ce request +is not filled. +normal +text +.rj 2 +Text adjusted to the right margin +works in just the same way and isn't filled either. +final +text diff --git a/regress/roff/ce/basic.out_ascii b/regress/roff/ce/basic.out_ascii new file mode 100644 index 00000000..709e1e96 --- /dev/null +++ b/regress/roff/ce/basic.out_ascii @@ -0,0 +1,19 @@ +CE-BASIC(1) General Commands Manual CE-BASIC(1) + + + +NNAAMMEE + ce-basic - basic usage of the centering request + +DDEESSCCRRIIPPTTIIOONN + initial text + Text centered with the .ce request + is not filled. + normal text + Text adjusted to the right margin + works in just the same way and isn't filled either. + final text + + + +OpenBSD January 4, 2019 CE-BASIC(1) -- cgit v1.2.3-56-ge451