summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/man
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2020-04-04 20:23:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2020-04-04 20:23:08 +0000
commite77332b323357bb8368fd4436e4ac48a7472addd (patch)
tree15d9c4074ce02717a2c814b698905317d201fa42 /regress/usr.bin/mandoc/man
parent3a36076649f1857a1251df384f9861285ae3ba4c (diff)
automatically tag .SH and .SS in man(7) terminal output
in the same way as it was done for .Sh and .Ss in mdoc(7)
Diffstat (limited to 'regress/usr.bin/mandoc/man')
-rw-r--r--regress/usr.bin/mandoc/man/IP/empty.out_tag2
-rw-r--r--regress/usr.bin/mandoc/man/IP/tag.out_tag2
-rw-r--r--regress/usr.bin/mandoc/man/SH/Makefile3
-rw-r--r--regress/usr.bin/mandoc/man/SH/paragraph.out_tag4
-rw-r--r--regress/usr.bin/mandoc/man/SS/Makefile3
-rw-r--r--regress/usr.bin/mandoc/man/SS/paragraph.out_tag4
-rw-r--r--regress/usr.bin/mandoc/man/TP/tag.out_tag2
7 files changed, 18 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/IP/empty.out_tag b/regress/usr.bin/mandoc/man/IP/empty.out_tag
index f35f112014e..081683cf456 100644
--- a/regress/usr.bin/mandoc/man/IP/empty.out_tag
+++ b/regress/usr.bin/mandoc/man/IP/empty.out_tag
@@ -1,3 +1,5 @@
+NAME 5
+DESCRIPTION 8
tag1 15
tag2 17
tag 21
diff --git a/regress/usr.bin/mandoc/man/IP/tag.out_tag b/regress/usr.bin/mandoc/man/IP/tag.out_tag
index 5be038dbbdb..13ec09aca17 100644
--- a/regress/usr.bin/mandoc/man/IP/tag.out_tag
+++ b/regress/usr.bin/mandoc/man/IP/tag.out_tag
@@ -1,2 +1,4 @@
+NAME 5
+DESCRIPTION 8
strong 13
weak 15
diff --git a/regress/usr.bin/mandoc/man/SH/Makefile b/regress/usr.bin/mandoc/man/SH/Makefile
index f42a85b23da..049680bcc20 100644
--- a/regress/usr.bin/mandoc/man/SH/Makefile
+++ b/regress/usr.bin/mandoc/man/SH/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.7 2020/02/27 01:25:58 schwarze Exp $
+# $OpenBSD: Makefile,v 1.8 2020/04/04 20:23:07 schwarze Exp $
REGRESS_TARGETS = broken broken_eline empty_before longarg noarg paragraph vert
LINT_TARGETS = broken broken_eline empty_before noarg
HTML_TARGETS = paragraph
+TAG_TARGETS = paragraph
# groff-1.22.3 defects:
# - .SH without args just before EOF causes two additional blank lines.
diff --git a/regress/usr.bin/mandoc/man/SH/paragraph.out_tag b/regress/usr.bin/mandoc/man/SH/paragraph.out_tag
new file mode 100644
index 00000000000..18a73f7c0f7
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/SH/paragraph.out_tag
@@ -0,0 +1,4 @@
+NAME 5
+SYNOPSIS 8
+DESCRIPTION 11
+EXAMPLES 16
diff --git a/regress/usr.bin/mandoc/man/SS/Makefile b/regress/usr.bin/mandoc/man/SS/Makefile
index edbe4c2caa2..3a894af24cc 100644
--- a/regress/usr.bin/mandoc/man/SS/Makefile
+++ b/regress/usr.bin/mandoc/man/SS/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.5 2020/02/27 01:25:58 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2020/04/04 20:23:07 schwarze Exp $
REGRESS_TARGETS = broken broken_eline longarg noarg paragraph vert
LINT_TARGETS = broken broken_eline noarg
HTML_TARGETS = paragraph
+TAG_TARGETS = paragraph
# groff-1.22.3 defects:
# - .SS without args just before EOF causes two additional blank lines.
diff --git a/regress/usr.bin/mandoc/man/SS/paragraph.out_tag b/regress/usr.bin/mandoc/man/SS/paragraph.out_tag
new file mode 100644
index 00000000000..15451212f29
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/SS/paragraph.out_tag
@@ -0,0 +1,4 @@
+NAME 5
+DESCRIPTION 8
+First_subsection 11
+Second_subsection 16
diff --git a/regress/usr.bin/mandoc/man/TP/tag.out_tag b/regress/usr.bin/mandoc/man/TP/tag.out_tag
index 88f6cff83d0..14230d89980 100644
--- a/regress/usr.bin/mandoc/man/TP/tag.out_tag
+++ b/regress/usr.bin/mandoc/man/TP/tag.out_tag
@@ -1,3 +1,5 @@
+NAME 5
+DESCRIPTION 8
plain 13
strong 19
weak 21