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:
5322aba
)
t/op/incfilter.t: Work around android only having an inbuilt echo
author
Brian Fraser
<fraserbn@gmail.com>
Wed, 24 Apr 2013 04:09:42 +0000
(
01:09
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:22 +0000
(14:44 -0300)
t/op/incfilter.t
patch
|
blob
|
history
diff --git
a/t/op/incfilter.t
b/t/op/incfilter.t
index
e43001e
..
c344558
100644
(file)
--- a/
t/op/incfilter.t
+++ b/
t/op/incfilter.t
@@
-74,7
+74,12
@@
if ($^O eq 'VMS') {
$fail_arg = '"fail"';
}
else {
- $echo_command = 'echo';
+ if ($^O =~ /android/) {
+ $echo_command = q{sh -c 'echo $@' -- };
+ }
+ else {
+ $echo_command = 'echo';
+ }
$pass_arg = 'pass';
$fail_arg = 'fail';
}