summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-01 01:12:10 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-01 01:12:10 +0000
commit45e2bc9e88e1f16597c25dd89675dd0fd0dc3577 (patch)
treed220f066e0383310e70f58f8fc49855124d27192 /regress
parent8d1dbf3c61acb8f8fa68d43c545d1667d9d32a1c (diff)
Add a test to catch .el\{ breakage; roff.c rev. 1.88
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/roff/cond/ie.in6
-rw-r--r--regress/usr.bin/mandoc/roff/cond/ie.out_ascii3
2 files changed, 7 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/roff/cond/ie.in b/regress/usr.bin/mandoc/roff/cond/ie.in
index 82a9795ecc7..8eea1a99945 100644
--- a/regress/usr.bin/mandoc/roff/cond/ie.in
+++ b/regress/usr.bin/mandoc/roff/cond/ie.in
@@ -1,4 +1,4 @@
-.TH IE 1 "April 25, 2010" OpenBSD
+.TH IE 1 "July 1, 2014" OpenBSD
.SH NAME
if \- the roff conditional instruction with else-clause
.SH DESCRIPTION
@@ -16,3 +16,7 @@ Text following the false condition.
after false.\}
.br
.el Another else after false.
+.br
+.ie n If \&.el\e{ works, nothing follows here:
+.el\{dummy
+BOOHOO\}
diff --git a/regress/usr.bin/mandoc/roff/cond/ie.out_ascii b/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
index 4046b6442d2..7a1c4d161f7 100644
--- a/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
+++ b/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
@@ -10,7 +10,8 @@ DDEESSCCRRIIPPTTIIOONN
Text following the true condition.
Text following the false condition.
Two-line else after false.
+ If .el\{ works, nothing follows here:
-OpenBSD April 25, 2010 IE(1)
+OpenBSD July 1, 2014 IE(1)