diff options
author | Li Jinjing <jinjingx.li@intel.com> | 2014-10-26 22:28:15 +0800 |
---|---|---|
committer | Li Jinjing <jinjingx.li@intel.com> | 2014-10-26 22:28:15 +0800 |
commit | 931b01b091932a1f796c23379ea32abb68bd5895 (patch) | |
tree | 3aa9e1125da84f7e3bd764bbff577c42a766508b /checks/006.command_li | |
parent | 7be93f2d05131d061bd4790ae33c8d50f50010d7 (diff) | |
download | m4-931b01b091932a1f796c23379ea32abb68bd5895.tar.gz m4-931b01b091932a1f796c23379ea32abb68bd5895.tar.bz2 m4-931b01b091932a1f796c23379ea32abb68bd5895.zip |
Imported Upstream version 1.4.17upstream/1.4.17sandbox/jinjingx/upstream
Diffstat (limited to 'checks/006.command_li')
-rw-r--r-- | checks/006.command_li | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/checks/006.command_li b/checks/006.command_li index 84966c2..f852d9e 100644 --- a/checks/006.command_li +++ b/checks/006.command_li @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texinfo:980: Origin of test +dnl @ ../doc/m4.texi:1006: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software @@ -10,6 +10,9 @@ dnl @ is preserved. ifdef(`__unix__', , `errprint(` skipping: syscmd does not have unix semantics ')m4exit(`77')')dnl +syscmd(`echo | cat >&- 2>/dev/null')ifelse(sysval, `0', + `errprint(` skipping: system does not allow closing stdout +')m4exit(`77')')dnl changequote(`[', `]')dnl syscmd([echo 'esyscmd(echo hi >&2 && echo err"print(bye )d"nl)dnl' > tmp.m4 \ |