diff options
author | Steve Hay <SteveHay@planit.com> | 2005-09-28 08:23:01 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-09-28 08:23:01 +0000 |
commit | 092026cff08d8963457599a8f6395bd1f642aed4 (patch) | |
tree | 851d3cbeabb09ff43630bf50f643fab8241eb777 /lib/ExtUtils | |
parent | 7dc108d184319beaec63e84f17c3ede08e5e7abc (diff) | |
download | perl-092026cff08d8963457599a8f6395bd1f642aed4.tar.gz |
Improve File::Spec::Win32->path() and fix MM_Win32.t
Subject: Improved File::Spec::Win32->path [PATCH]
From: Gisle Aas <gisle@ActiveState.com>
Date: 17 Sep 2005 00:13:41 -0700
Message-ID: <lrk6hgrwt6.fsf@caliper.activestate.com>
Subject: Re: Improved File::Spec::Win32->path [PATCH]
From: Michael G Schwern <schwern@pobox.com>
Date: Tue, 27 Sep 2005 13:05:54 -0700
Message-ID: <20050927200554.GC20908@windhund.schwern.org>
p4raw-id: //depot/perl@25627
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r-- | lib/ExtUtils/t/MM_Win32.t | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/ExtUtils/t/MM_Win32.t b/lib/ExtUtils/t/MM_Win32.t index ca870d5cb0..7acde33a94 100644 --- a/lib/ExtUtils/t/MM_Win32.t +++ b/lib/ExtUtils/t/MM_Win32.t @@ -163,15 +163,10 @@ delete $ENV{PATHEXT} unless $had_pathext; } # path() -my $had_path = exists $ENV{PATH}; { - my @path_eg = ( qw( . .. ), 'C:\\Program Files' ); - local $ENV{PATH} = join ';', @path_eg; - ok( eq_array( [ $MM->path() ], [ @path_eg ] ), + ok( eq_array( [ $MM->path() ], [ File::Spec->path ] ), 'path() [preset]' ); } -# Bug in Perl. local $ENV{FOO} will not delete key afterwards. -delete $ENV{PATH} unless $had_path; # static_lib() should look into that # dynamic_bs() should look into that |