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:
19d2bdc
)
t/io/fs.t: Handle Android's pwd being a shell builtin
author
Brian Fraser
<fraserbn@gmail.com>
Wed, 13 Nov 2013 02:59:15 +0000
(23:59 -0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:23 +0000
(14:44 -0300)
t/io/fs.t
patch
|
blob
|
history
diff --git
a/t/io/fs.t
b/t/io/fs.t
index
bec4dc9
..
5303a57
100644
(file)
--- a/
t/io/fs.t
+++ b/
t/io/fs.t
@@
-19,6
+19,10
@@
elsif ($^O eq 'VMS') {
elsif ($ENV{PWD}) {
$wd = $ENV{PWD};
}
+elsif ( $^O =~ /android/ ) {
+ # On Android, pwd is a shell builtin, so plain `pwd` won't cut it
+ $wd = `sh -c pwd`;
+}
else {
$wd = `pwd`;
}