summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-11-15 20:40:43 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-30 17:49:59 -0300
commit97e175fe49e92b0a9e56a227dee6dbfea4bf7fc0 (patch)
treebe8ef40358c743b32aba961e0fb5bf73b1029349 /t
parentc413f034c6dea5a70993735d163d2af2b765d23b (diff)
downloadperl-97e175fe49e92b0a9e56a227dee6dbfea4bf7fc0.tar.gz
t/io/fs.t: sh in Blackberry might behave like android's
Diffstat (limited to 't')
-rw-r--r--t/io/fs.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index 5303a577aa..78d22e2959 100644
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -19,8 +19,9 @@ 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
+elsif ( $^O =~ /android/ || $^O eq 'nto' ) {
+ # On Android and Blackberry 10, pwd is a shell builtin, so plain `pwd`
+ # won't cut it
$wd = `sh -c pwd`;
}
else {