Test hex('x...').
[p5sagit/p5-mst-13.2.git] / t / op / fh.t
index d2659c3..86e405a 100755 (executable)
--- a/t/op/fh.t
+++ b/t/op/fh.t
@@ -6,14 +6,16 @@ my $test = 0;
 
 # symbolic filehandles should only result in glob entries with FH constructors
 
+$|=1;
 my $a = "SYM000";
 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";