Integrate from mainperl.
[p5sagit/p5-mst-13.2.git] / t / op / filetest.t
old mode 100755 (executable)
new mode 100644 (file)
index 7e03c42..1e095be
@@ -3,11 +3,12 @@
 # There are few filetest operators that are portable enough to test.
 # See pod/perlport.pod for details.
 
-use Config;
 BEGIN {
     chdir 't' if -d 't';
+    unshift @INC, '../lib' if -d '../lib';
 }
 
+use Config;
 print "1..10\n";
 
 print "not " unless -d 'op';