cleanup of the Devel-SelfStubber tests to run in ext
Steffen Mueller [Fri, 4 Sep 2009 12:19:41 +0000 (14:19 +0200)]
ext/Devel-SelfStubber/t/Devel-SelfStubber.t

index b07cde1..4d69090 100644 (file)
@@ -4,8 +4,7 @@ use strict;
 use Devel::SelfStubber;
 use File::Spec::Functions;
 
-my $runperl = "$^X \"-I../lib\"";
-$runperl =~ s|../lib|::lib:| if $^O eq 'MacOS';
+my $runperl = $^X;
 
 # ensure correct output ordering for system() calls