Integrate mainline
[p5sagit/p5-mst-13.2.git] / t / io / binmode.t
index 34a462d..4991d5e 100644 (file)
@@ -2,12 +2,14 @@
 
 BEGIN {
     chdir 't' if -d 't';
-    @INC = '../lib';
+    @INC = qw(. ../lib);
 }
 
-use Test::More tests => 8;
 use Config;
 
+require "test.pl";
+plan(tests => 8);
+
 ok( binmode(STDERR),            'STDERR made binary' );
 if ($Config{useperlio}) {
   ok( binmode(STDERR, ":unix"),   '  with unix discipline' );