diff options
author | Gisle Aas <gisle@aas.no> | 1999-03-19 21:14:54 +0000 |
---|---|---|
committer | Gisle Aas <gisle@aas.no> | 1999-03-19 21:14:54 +0000 |
commit | 1a40610bd88e49fe9ac9c74616e3566e27b572a5 (patch) | |
tree | 145c9f3f49c039842747b93bc403bf705ef6e14d /t/old-base.t | |
parent | f9c73199bdb7a310e5860b5924dc5a19de0676ed (diff) | |
download | uri-1a40610bd88e49fe9ac9c74616e3566e27b572a5.tar.gz |
MacOS patches from Paul J. Schinder.
Diffstat (limited to 't/old-base.t')
-rw-r--r-- | t/old-base.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/old-base.t b/t/old-base.t index 6afb970..a0c7cbb 100644 --- a/t/old-base.t +++ b/t/old-base.t @@ -26,6 +26,7 @@ package main; # Must ensure that there is no relative paths in @INC because we will # chdir in the newlocal tests. +unless ($^O eq "MacOS") { chomp($pwd = ($^O =~ /mswin32/i ? `cd` : `pwd`)); for (@INC) { next if m|^/| or $^O =~ /os2|mswin32/i and m|^\w:[\\/]|; @@ -33,6 +34,7 @@ for (@INC) { $_ = "$pwd/$_"; } +} $| = 1; @@ -628,6 +630,8 @@ $url->path($all); # sub newlocal_test { + return 1 if $^O eq "MacOS"; + print "newlocal_test:\n"; my $pwd = ($^O eq 'MSWin32' ? 'cd' : (-e '/bin/pwd' ? '/bin/pwd' : 'pwd')); my $tmpdir = ($^O eq 'MSWin32' ? $ENV{TEMP} : '/tmp'); |