summaryrefslogtreecommitdiff
path: root/dist/IO
diff options
context:
space:
mode:
Diffstat (limited to 'dist/IO')
-rw-r--r--dist/IO/t/io_pipe.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/dist/IO/t/io_pipe.t b/dist/IO/t/io_pipe.t
index b7897bb2df..e4f5f190a5 100644
--- 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
{