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:
0457ceb
)
t/op/stat.t: use 'ls -l' on android, even if d_readlink is defined
author
Brian Fraser
<fraserbn@gmail.com>
Wed, 24 Apr 2013 22:58:33 +0000
(19:58 -0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:23 +0000
(14:44 -0300)
t/op/stat.t
patch
|
blob
|
history
diff --git
a/t/op/stat.t
b/t/op/stat.t
index
2ff4cdf
..
91ce396
100644
(file)
--- a/
t/op/stat.t
+++ b/
t/op/stat.t
@@
-37,6
+37,7
@@
$Is_OS2 = $^O eq 'os2';
$Is_Solaris = $^O eq 'solaris';
$Is_VMS = $^O eq 'VMS';
$Is_MPRAS = $^O =~ /svr4/ && -f '/etc/.relid';
+$Is_Android = $^O =~ /android/;
$Is_Dosish = $Is_Dos || $Is_OS2 || $Is_MSWin32 || $Is_NetWare;
@@
-250,7
+251,7
@@
SKIP: {
if $Is_VMS;
delete $ENV{CLICOLOR_FORCE};
- my $LS = $Config{d_readlink} ? "ls -lL" : "ls -l";
+ my $LS = $Config{d_readlink}
&& !$Is_Android
? "ls -lL" : "ls -l";
my $CMD = "$LS /dev 2>/dev/null";
my $DEV = qx($CMD);