projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f7dee4
)
dist/IO/t/io_pipe.t: Work around android only having an inbuilt echo
author
Brian Fraser
<fraserbn@gmail.com>
Fri, 26 Apr 2013 01:57:01 +0000
(22:57 -0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:24 +0000
(14:44 -0300)
dist/IO/t/io_pipe.t
patch
|
blob
|
history
diff --git
a/dist/IO/t/io_pipe.t
b/dist/IO/t/io_pipe.t
index
b7897bb
..
e4f5f19
100644
(file)
--- a/
dist/IO/t/io_pipe.t
+++ b/
dist/IO/t/io_pipe.t
@@
-108,7
+108,11
@@
if ($is_win32) {
$stdout = bless \*STDOUT, "IO::Handle";
$stdout->fdopen($pipe,"w");
print STDOUT "not ok 7\n";
- exec 'echo', 'not ok 8';
+ my @echo = 'echo';
+ if ( $^O =~ /android/ ) {
+ @echo = ('sh', '-c', q{echo $@}, '--');
+ }
+ exec @echo, 'not ok 8';
}
else
{