aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/ce
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-04 01:11:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-04 01:11:27 +0000
commit6cf23e79eacb40b38dccfa2e1d89e593de735ea1 (patch)
tree83edf827fddfd82cdc704c2e0b69a9fbbc2791b5 /regress/roff/ce
parent978d5fe8a9860c3d73e4ac21011e19609438efeb (diff)
downloadmandoc-6cf23e79eacb40b38dccfa2e1d89e593de735ea1.tar.gz
mandoc-6cf23e79eacb40b38dccfa2e1d89e593de735ea1.tar.zst
mandoc-6cf23e79eacb40b38dccfa2e1d89e593de735ea1.zip
test the roff(7) .ce and .rj requests;
they were already supported in the past
Diffstat (limited to 'regress/roff/ce')
-rw-r--r--regress/roff/ce/Makefile5
-rw-r--r--regress/roff/ce/basic.in17
-rw-r--r--regress/roff/ce/basic.out_ascii19
3 files changed, 41 insertions, 0 deletions
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)