From b58c24b0e3ae94feef0d06959eb5ed6cca02285a Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 24 Apr 2013 02:28:12 -0300 Subject: [PATCH] t/op/magic.t: Work around android only having an inbuilt pwd --- t/op/magic.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/op/magic.t b/t/op/magic.t index bef1f98..9253e91 100644 --- 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`); -- 2.7.4