Really fix the Archive::Tar setup test.
Rafael Garcia-Suarez [Fri, 2 Sep 2005 17:35:31 +0000 (17:35 +0000)]
p4 and svn don't behave similarly concerning removal
of empty directories...

p4raw-id: //depot/perl@25350

lib/Archive/Tar/t/00_setup.t

index f6734c5..7c63306 100644 (file)
@@ -3,7 +3,9 @@ use File::Spec ();
 
 BEGIN {
     if ($ENV{PERL_CORE}) {
-       chdir '../lib/Archive/Tar/t/src' if -d '../lib/Archive/Tar/t/src';
+       chdir '../lib/Archive/Tar/t' if -d '../lib/Archive/Tar/t';
+       mkdir 'src' unless -d 'src';
+       chdir 'src';
     }
 }