X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fio_poll.t;h=d391566a7feced3e87249e8de917e1852e7eb91d;hb=569bd3158af2276a406770e3d68e76b7da59b730;hp=68ad7b74cba4f34252203d9ab37f6060f6117873;hpb=0994c4d08152f97e3d70c5ce59ee93b0aa88684c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/lib/io_poll.t b/t/lib/io_poll.t index 68ad7b7..d391566 100755 --- a/t/lib/io_poll.t +++ b/t/lib/io_poll.t @@ -3,7 +3,7 @@ BEGIN { unless(grep /blib/, @INC) { chdir 't' if -d 't'; - unshift @INC, '../lib' if -d '../lib'; + @INC = '../lib'; } } @@ -15,7 +15,7 @@ if ($^O eq 'mpeix') { select(STDERR); $| = 1; select(STDOUT); $| = 1; -print "1..8\n"; +print "1..9\n"; use IO::Handle; use IO::Poll qw(/POLL/); @@ -75,3 +75,8 @@ $poll->poll(0.1); print "not " if $poll->events($stdout); print "ok 8\n"; + +$poll->remove($dupout); +print "not " + if $poll->handles; +print "ok 9\n";