summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-08-17 15:33:42 -0600
committerEric Blake <ebb9@byu.net>2009-08-18 06:39:40 -0600
commit3a75b2ffc1d1e2d60faf1f07b4b58349d04c3e5a (patch)
tree1cbd89fb72f5f7133c5ede1a806f466b543961ec
parent935f8158c44060778ae60a382328b540b6c71d75 (diff)
downloadm4-3a75b2ffc1d1e2d60faf1f07b4b58349d04c3e5a.tar.gz
Enhance test with closed descriptors.
* doc/m4.texinfo (Command line files): Enhance test from 2009-07-20 to actually test the bug being fixed. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog4
-rw-r--r--doc/m4.texinfo4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37dc6788..0dd334c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-08-17 Eric Blake <ebb9@byu.net>
+ Enhance test with closed descriptors.
+ * doc/m4.texinfo (Command line files): Enhance test from
+ 2009-07-20 to actually test the bug being fixed.
+
Update copyright year.
* AUTHORS: Run UPDATE_COPYRIGHT_FORCE=1 make update-copyright.
* BACKLOG: Likewise.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index b95d1090..89a80a78 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -981,10 +981,12 @@ ifdef(`__unix__', ,
`errprint(` skipping: syscmd does not have unix semantics
')m4exit(`77')')dnl
changequote(`[', `]')dnl
-syscmd([echo 'esyscmd(echo hi >&2)dnl' > tmp.m4 \
+syscmd([echo 'esyscmd(echo hi >&2 && echo err"print(bye
+)d"nl)dnl' > tmp.m4 \
&& ']__program__[' tmp.m4 <&- >&- \
&& rm tmp.m4])sysval
@error{}hi
+@error{}bye
@result{}0
@end example
@end ignore