This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get push.t working under minitest
[perl5.git] / t / op / push.t
index 409920a..34fc41f 100644 (file)
@@ -2,8 +2,9 @@
 
 BEGIN {
     chdir 't' if -d 't';
-    @INC = '../lib';
     require './test.pl';
+    @INC = () unless is_miniperl();
+    unshift @INC, '../lib';
 }
 
 @tests = split(/\n/, <<EOF);