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:
d7046a2
)
t/op/magic.t: Work around android only having an inbuilt pwd
author
Brian Fraser
<fraserbn@gmail.com>
Wed, 24 Apr 2013 05:28:12 +0000
(
02:28
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:23 +0000
(14:44 -0300)
t/op/magic.t
patch
|
blob
|
history
diff --git
a/t/op/magic.t
b/t/op/magic.t
index
bef1f98
..
9253e91
100644
(file)
--- a/
t/op/magic.t
+++ b/
t/op/magic.t
@@
-278,6
+278,9
@@
$$ = $pid; # Tests below use $$
if ($^O eq 'qnx') {
chomp($wd = `/usr/bin/fullpath -t`);
}
+ elsif($^O =~ /android/) {
+ chomp($wd = `sh -c 'pwd'`);
+ }
elsif($Is_Cygwin || $is_abs) {
# Cygwin turns the symlink into the real file
chomp($wd = `pwd`);