This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Everything should now work with negative times, so let's pull out all the skips from...
[perl5.git] / lib / h2xs.t
index e6c75c0..380f838 100644 (file)
@@ -56,6 +56,10 @@ if ($^O eq 'MacOS') {
 my $name = 'h2xst';
 my $header = "$name.h";
 my $thisversion = sprintf "%vd", $^V;
+$thisversion =~ s/^v//;
+
+# If this test has failed previously a copy may be left.
+rmtree($name);
 
 my @tests = (
 "-f -n $name", $], <<"EOXSFILES",