diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-04 01:11:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-04 01:11:27 +0000 |
commit | 75c178d760fcce106641f976840cfe750101b794 (patch) | |
tree | a6e74e08489fd380f0283abf69dafff93ca4a37c /regress/roff | |
parent | 9f4d60709725128fb9c4b5cd5918325ff4dd397f (diff) | |
download | mandoc-75c178d760fcce106641f976840cfe750101b794.tar.gz |
test the roff(7) .ce and .rj requests;
they were already supported in the past
Diffstat (limited to 'regress/roff')
-rw-r--r-- | regress/roff/Makefile | 4 | ||||
-rw-r--r-- | regress/roff/ce/Makefile | 5 | ||||
-rw-r--r-- | regress/roff/ce/basic.in | 17 | ||||
-rw-r--r-- | regress/roff/ce/basic.out_ascii | 19 |
4 files changed, 43 insertions, 2 deletions
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 <bsd.regress.mk> 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) |