summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-02-06 03:44:37 +0000
committerschwarze <schwarze@openbsd.org>2017-02-06 03:44:37 +0000
commitbf760ac208d8a6c6e96aea26d07ee15301754add (patch)
tree0fe7371678a6272eae9594a604ad5a8f68672bbf
parentThe .Nm macro does not only use the default name when it has no (diff)
downloadwireguard-openbsd-bf760ac208d8a6c6e96aea26d07ee15301754add.tar.xz
wireguard-openbsd-bf760ac208d8a6c6e96aea26d07ee15301754add.zip
one less groff-mandoc difference after mdoc_validate.c rev. 1.234
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nm/Makefile7
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_ascii2
-rw-r--r--regress/usr.bin/mandoc/mdoc/Nm/emptyNAMEuse.out_ascii2
3 files changed, 4 insertions, 7 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Nm/Makefile b/regress/usr.bin/mandoc/mdoc/Nm/Makefile
index c8bce02c630..d87f43fdb8a 100644
--- a/regress/usr.bin/mandoc/mdoc/Nm/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Nm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2015/02/03 00:48:27 schwarze Exp $
+# $OpenBSD: Makefile,v 1.13 2017/02/06 03:44:37 schwarze Exp $
REGRESS_TARGETS = badNAME badNAMEuse break broken
REGRESS_TARGETS += empty emptyNAME emptyNAMEuse
@@ -7,15 +7,12 @@ REGRESS_TARGETS += font long par parns punct
LINT_TARGETS = badNAME badNAMEuse break
# groff-1.22.3/mandoc differences:
-# - When the first Nm does not have an argument but a later one has,
-# mandoc retroactively uses the later name for the earlier instances
-# of Nm, too, while groff does not.
# - When the head of an Nm block in the SYNOPSIS is broken by an
# explicit block end macro on the same line, formatting differs,
# but doesn't make sense either way.
# - Groff doesn't support the nS register.
-SKIP_GROFF = badNAMEuse emptyNAMEuse broken parns
+SKIP_GROFF = broken parns
SKIP_TMAN = broken par parns
# groff-1.22.3 defect:
diff --git a/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_ascii b/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_ascii
index 21167d140bb..fd3aa7a5ad1 100644
--- a/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_ascii
@@ -1,7 +1,7 @@
NM-BADNAMEUSE(1) General Commands Manual NM-BADNAMEUSE(1)
NNAAMMEE
- ssoommee__nnaammee BSD - text production macro on the NAME Nm line, used later
+ BSD - text production macro on the NAME Nm line, used later
SSYYNNOOPPSSIISS
ssoommee__nnaammee
diff --git a/regress/usr.bin/mandoc/mdoc/Nm/emptyNAMEuse.out_ascii b/regress/usr.bin/mandoc/mdoc/Nm/emptyNAMEuse.out_ascii
index ed58ab6c74f..452a7e29889 100644
--- a/regress/usr.bin/mandoc/mdoc/Nm/emptyNAMEuse.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Nm/emptyNAMEuse.out_ascii
@@ -1,7 +1,7 @@
NM-EMPTYNAMEUSE(1) General Commands Manual NM-EMPTYNAMEUSE(1)
NNAAMMEE
- ssoommee__nnaammee - empty NAME Nm line, used later
+ - empty NAME Nm line, used later
SSYYNNOOPPSSIISS
ssoommee__nnaammee