summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Eo/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Eo/obsolete.in20
-rw-r--r--regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_ascii14
-rw-r--r--regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_lint6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/obsolete.in12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_ascii11
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_lint2
8 files changed, 73 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Eo/Makefile b/regress/usr.bin/mandoc/mdoc/Eo/Makefile
index 9483beafc90..caa50a0c9e1 100644
--- a/regress/usr.bin/mandoc/mdoc/Eo/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Eo/Makefile
@@ -1,5 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2012/07/09 22:36:04 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2014/07/02 03:47:07 schwarze Exp $
-REGRESS_TARGETS = empty
+REGRESS_TARGETS = empty obsolete
+
+LINT_TARGETS = obsolete
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Eo/obsolete.in b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.in
new file mode 100644
index 00000000000..fe0bb087f2d
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.in
@@ -0,0 +1,20 @@
+.Dd July 2, 2014
+.Dt EO-OBSOLETE 1
+.Os OpenBSD
+.Sh NAME
+.Nm Eo-obsolete
+.Nd obsolete enclosure macros
+.Sh DESCRIPTION
+.En no prior \&Es
+.Pp
+.Es << >> surplus
+initial text
+.En enclosed words with Fl flags
+middle text
+.En more enclosed words
+final text
+.Pp
+.Es
+initial text
+.En after empty \&Es
+final text
diff --git a/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_ascii b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_ascii
new file mode 100644
index 00000000000..2dd5b76d86c
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_ascii
@@ -0,0 +1,14 @@
+EO-OBSOLETE(1) OpenBSD Reference Manual EO-OBSOLETE(1)
+
+NNAAMMEE
+ EEoo--oobbssoolleettee - obsolete enclosure macros
+
+DDEESSCCRRIIPPTTIIOONN
+ no prior Es
+
+ surplus initial text <<enclosed words with --ffllaaggss>> middle text <<more
+ enclosed words>> final text
+
+ initial text after empty Es final text
+
+OpenBSD July 2, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_lint b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_lint
new file mode 100644
index 00000000000..02d585d7dbd
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Eo/obsolete.out_lint
@@ -0,0 +1,6 @@
+mandoc: obsolete.in:8:2: WARNING: obsolete macro: En
+mandoc: obsolete.in:10:5: WARNING: obsolete macro: Es
+mandoc: obsolete.in:12:2: WARNING: obsolete macro: En
+mandoc: obsolete.in:14:2: WARNING: obsolete macro: En
+mandoc: obsolete.in:17:4: WARNING: obsolete macro: Es
+mandoc: obsolete.in:19:2: WARNING: obsolete macro: En
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/Makefile b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
index 88adf0c6490..e64899c66be 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.7 2013/12/25 00:39:14 schwarze Exp $
+# $OpenBSD: Makefile,v 1.8 2014/07/02 03:47:07 schwarze Exp $
-REGRESS_TARGETS = basic section break noarg font eos
+REGRESS_TARGETS = basic section break noarg font eos obsolete
+
+LINT_TARGETS = obsolete
# groff does not handle .nr nS
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/obsolete.in b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.in
new file mode 100644
index 00000000000..4901cbd596a
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.in
@@ -0,0 +1,12 @@
+.Dd July 2, 2014
+.Dt FO-OBSOLETE 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fo-obsolete
+.Nd obsolete function macros
+.Sh DESCRIPTION
+old function type
+.Ot fortran
+.Pp
+function return value
+.Fr value
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_ascii
new file mode 100644
index 00000000000..a6254c3a796
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_ascii
@@ -0,0 +1,11 @@
+FO-OBSOLETE(1) OpenBSD Reference Manual FO-OBSOLETE(1)
+
+NNAAMMEE
+ FFoo--oobbssoolleettee - obsolete function macros
+
+DDEESSCCRRIIPPTTIIOONN
+ old function type _f_o_r_t_r_a_n
+
+ function return value _v_a_l_u_e
+
+OpenBSD July 2, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_lint b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_lint
new file mode 100644
index 00000000000..c1ad3d858d6
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/obsolete.out_lint
@@ -0,0 +1,2 @@
+mandoc: obsolete.in:9:2: WARNING: obsolete macro: Ot
+mandoc: obsolete.in:12:2: WARNING: obsolete macro: Fr