Craig A. Berry [Thu, 4 Dec 2008 21:46:16 +0000 (21:46 +0000)]
test regression I caused David to make in 2.07. (See
http://rt.cpan.org/Public/Bug/Display.html?id=40512 ).
p4raw-id: //depot/perl@35013
use Exporter ();
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = '2.07_01';
+$VERSION = '2.07_02';
@ISA = qw(Exporter);
@EXPORT = qw(mkpath rmtree);
@EXPORT_OK = qw(make_path remove_tree);
is($count, 1, "removed directory unsafe mode");
$count = rmtree($dir2, 0, 1);
-is($count, 1, "removed directory safe mode");
+my $removed = $Is_VMS ? 0 : 1;
+is($count, $removed, "removed directory safe mode");
# mkdir foo ./E/../Y
# Y should exist