aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/ig
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/ig')
-rw-r--r--regress/roff/ig/Makefile6
-rw-r--r--regress/roff/ig/basic.in27
-rw-r--r--regress/roff/ig/basic.out_ascii13
-rw-r--r--regress/roff/ig/basic.out_lint3
4 files changed, 49 insertions, 0 deletions
diff --git a/regress/roff/ig/Makefile b/regress/roff/ig/Makefile
new file mode 100644
index 00000000..93e5e41e
--- /dev/null
+++ b/regress/roff/ig/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2014/07/07 11:34:41 schwarze Exp $
+
+REGRESS_TARGETS = basic
+LINT_TARGETS = basic
+
+.include <bsd.regress.mk>
diff --git a/regress/roff/ig/basic.in b/regress/roff/ig/basic.in
new file mode 100644
index 00000000..7e898832
--- /dev/null
+++ b/regress/roff/ig/basic.in
@@ -0,0 +1,27 @@
+.Dd July 7, 2014
+.Dt IG-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm ig-basic
+.Nd ignored blocks
+.Sh DESCRIPTION
+no arguments
+.ig
+ignored text
+..
+.br
+with end marker
+.ig end1
+ignored text
+.end1
+.br
+with two arguments
+.ig end2 excess
+ignored text
+.end2
+.br
+Here is a stray .. block ending,
+..
+and then an .ig staying open until the end of the file:
+.ig
+ignored text
diff --git a/regress/roff/ig/basic.out_ascii b/regress/roff/ig/basic.out_ascii
new file mode 100644
index 00000000..d100617a
--- /dev/null
+++ b/regress/roff/ig/basic.out_ascii
@@ -0,0 +1,13 @@
+IG-BASIC(1) General Commands Manual IG-BASIC(1)
+
+NNAAMMEE
+ iigg--bbaassiicc - ignored blocks
+
+DDEESSCCRRIIPPTTIIOONN
+ no arguments
+ with end marker
+ with two arguments
+ Here is a stray .. block ending, and then an .ig staying open until the
+ end of the file:
+
+OpenBSD July 7, 2014 OpenBSD
diff --git a/regress/roff/ig/basic.out_lint b/regress/roff/ig/basic.out_lint
new file mode 100644
index 00000000..2b03b9cf
--- /dev/null
+++ b/regress/roff/ig/basic.out_lint
@@ -0,0 +1,3 @@
+mandoc: basic.in:19:5: ERROR: skipping excess arguments: .ig ... excess
+mandoc: basic.in:24:1: ERROR: skipping end of block that is not open: ..
+mandoc: basic.in:26:1: ERROR: appending missing end of block: ig