[MacPerl-Porters] [PATCH] Mac OS Compatability for bleadperl
[p5sagit/p5-mst-13.2.git] / t / op / fh.t
index 469aa0e..86e405a 100755 (executable)
--- a/t/op/fh.t
+++ b/t/op/fh.t
@@ -12,9 +12,10 @@ print "not " if defined(fileno($a)) or defined *{$a};
 ++$test; print "ok $test\n";
 
 select select $a;
-print "not " if defined *{$a};
+print "not " unless defined *{$a};
 ++$test; print "ok $test\n";
 
+$a++;
 print "not " if close $a or defined *{$a};
 ++$test; print "ok $test\n";