summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-07-28 19:30:13 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-07-28 20:51:39 -0400
commita5a49cbf4d6eb36d453c1c5eb58984d66bb4b45e (patch)
tree348a520f18f26b97f4b664abf0171e62ed6e49b5 /t
parentcfc6b1ed3a0eabcc03845bd71d4357d9c62155b6 (diff)
downloadperl-a5a49cbf4d6eb36d453c1c5eb58984d66bb4b45e.tar.gz
Revert part of b844a53a to fix ./perl -Ilib t/io/fs.t
The temps are created in t, but $ENV{PWD} points to root. The change was made for Android support, but is now obsoleted by newer code for Android, just below.
Diffstat (limited to 't')
-rw-r--r--t/io/fs.t3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index 5e82b45d0a..0d3f435d6d 100644
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -16,9 +16,6 @@ if (($^O eq 'MSWin32') || ($^O eq 'NetWare')) {
elsif ($^O eq 'VMS') {
$wd = `show default`;
}
-elsif ($ENV{PWD}) {
- $wd = $ENV{PWD};
-}
elsif ( $^O =~ /android/ || $^O eq 'nto' ) {
# On Android and Blackberry 10, pwd is a shell builtin, so plain `pwd`
# won't cut it