summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-04 01:58:57 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-04 01:58:57 +0000
commit83b9981d68bee81cd3a84e592dd3d7e5d747d1e2 (patch)
treeeb1868f35c6d238acb9aa86d9ea11199ee74f89a /regress/usr.bin
parent4ed01ace53ae40f281e939f327e60a3026e2535a (diff)
Fix stupid commit error pointed out by guenther@ (thanks!):
1) Actually commit TP/* this time. 2) Revert IP/* to 1.1, which is the correct version. What happened is that i committed both IP/* and TP/* into IP, committing two versions in one commit, because the file TP/CVS/Repository was corrupt in my tree. I didn't even know that could happen...
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/man/IP/Makefile2
-rw-r--r--regress/usr.bin/mandoc/man/TP/Makefile6
-rw-r--r--regress/usr.bin/mandoc/man/TP/literal.in26
-rw-r--r--regress/usr.bin/mandoc/man/TP/literal.out_ascii25
-rw-r--r--regress/usr.bin/mandoc/man/TP/manyargs.in45
-rw-r--r--regress/usr.bin/mandoc/man/TP/manyargs.out_ascii39
-rw-r--r--regress/usr.bin/mandoc/man/TP/width.in53
-rw-r--r--regress/usr.bin/mandoc/man/TP/width.out_ascii50
8 files changed, 245 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/man/IP/Makefile b/regress/usr.bin/mandoc/man/IP/Makefile
index 8c6ca9d7279..aa7f54a0f5a 100644
--- a/regress/usr.bin/mandoc/man/IP/Makefile
+++ b/regress/usr.bin/mandoc/man/IP/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2011/01/04 01:15:39 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2011/01/04 01:58:56 schwarze Exp $
REGRESS_TARGETS=literal width manyargs
GROFF_TARGETS=literal width manyargs
diff --git a/regress/usr.bin/mandoc/man/TP/Makefile b/regress/usr.bin/mandoc/man/TP/Makefile
new file mode 100644
index 00000000000..8869c0b88c8
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2011/01/04 01:58:56 schwarze Exp $
+
+REGRESS_TARGETS=literal width manyargs
+GROFF_TARGETS=literal width manyargs
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/TP/literal.in b/regress/usr.bin/mandoc/man/TP/literal.in
new file mode 100644
index 00000000000..1774c7098eb
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/literal.in
@@ -0,0 +1,26 @@
+.TH TP-LITERAL 1
+.SH NAME
+TP-literal \- indented paragraphs in literal context
+.SH DESCRIPTION
+regular
+text
+.TP 10n
+tag
+indented
+text
+.PP
+regular
+text
+.nf
+literal
+text
+.TP 10n
+tag
+indented
+text
+.PP
+literal
+text
+.fi
+regular
+text
diff --git a/regress/usr.bin/mandoc/man/TP/literal.out_ascii b/regress/usr.bin/mandoc/man/TP/literal.out_ascii
new file mode 100644
index 00000000000..29c09bf0d51
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/literal.out_ascii
@@ -0,0 +1,25 @@
+TP-LITERAL(1) TP-LITERAL(1)
+
+
+
+NNAAMMEE
+ TP-literal - indented paragraphs in literal context
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+
+ tag indented text
+
+ regular text
+ literal
+ text
+
+ tag indented
+ text
+
+ literal
+ text
+ regular text
+
+
+
diff --git a/regress/usr.bin/mandoc/man/TP/manyargs.in b/regress/usr.bin/mandoc/man/TP/manyargs.in
new file mode 100644
index 00000000000..6b6055c97f8
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/manyargs.in
@@ -0,0 +1,45 @@
+.TH TP-MANYARGS 1
+.SH NAME
+TP-manyargs \- too many header args for indented blocks
+.SH DESCRIPTION
+regular
+text
+.TP 10n
+tag1
+indented
+text
+.PP
+regular
+text
+.TP 10n tag1
+tag2
+indented
+text
+.PP
+regular
+text
+.TP 10n tag2 tag1
+tag3
+indented
+text
+.nf
+literal
+text
+.TP 10n
+tag1
+indented
+text
+.PP
+literal
+text
+.TP 10n tag1
+tag2
+indented
+text
+.PP
+literal
+text
+.TP 10n tag2 tag1
+tag3
+indented
+text
diff --git a/regress/usr.bin/mandoc/man/TP/manyargs.out_ascii b/regress/usr.bin/mandoc/man/TP/manyargs.out_ascii
new file mode 100644
index 00000000000..658f29340b4
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/manyargs.out_ascii
@@ -0,0 +1,39 @@
+TP-MANYARGS(1) TP-MANYARGS(1)
+
+
+
+NNAAMMEE
+ TP-manyargs - too many header args for indented blocks
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+
+ tag1 indented text
+
+ regular text
+
+ tag2 indented text
+
+ regular text
+
+ tag3 indented text
+ literal
+ text
+
+ tag1 indented
+ text
+
+ literal
+ text
+
+ tag2 indented
+ text
+
+ literal
+ text
+
+ tag3 indented
+ text
+
+
+
diff --git a/regress/usr.bin/mandoc/man/TP/width.in b/regress/usr.bin/mandoc/man/TP/width.in
new file mode 100644
index 00000000000..47683a351d5
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/width.in
@@ -0,0 +1,53 @@
+.TH TP-WIDTH 1
+.SH NAME
+TP-width \- indentation width of indented paragraphs
+.SH DESCRIPTION
+Regular mode:
+.TP 1n
+tag
+indented
+.br
+text
+.TP 2n
+tag
+indented
+.br
+text
+.TP 3n
+tag
+indented
+.br
+text
+.TP 4n
+tag
+indented
+.br
+text
+.TP 5n
+tag
+indented
+.br
+text
+.PP
+Literal mode:
+.nf
+.TP 1n
+tag
+indented
+text
+.TP 2n
+tag
+indented
+text
+.TP 3n
+tag
+indented
+text
+.TP 4n
+tag
+indented
+text
+.TP 5n
+tag
+indented
+text
diff --git a/regress/usr.bin/mandoc/man/TP/width.out_ascii b/regress/usr.bin/mandoc/man/TP/width.out_ascii
new file mode 100644
index 00000000000..1b611d2866d
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/TP/width.out_ascii
@@ -0,0 +1,50 @@
+TP-WIDTH(1) TP-WIDTH(1)
+
+
+
+NNAAMMEE
+ TP-width - indentation width of indented paragraphs
+
+DDEESSCCRRIIPPTTIIOONN
+ Regular mode:
+
+ tag
+ indented
+ text
+
+ tag
+ indented
+ text
+
+ tag
+ indented
+ text
+
+ tag indented
+ text
+
+ tag indented
+ text
+
+ Literal mode:
+
+ tag
+ indented
+ text
+
+ tag
+ indented
+ text
+
+ tag
+ indented
+ text
+
+ tag indented
+ text
+
+ tag indented
+ text
+
+
+