ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/t/06_group.t
(Generate patch)

Comparing IO-AIO/t/06_group.t (file contents):
Revision 1.3 by root, Sun Oct 22 10:33:19 2006 UTC vs.
Revision 1.4 by root, Mon Oct 23 00:34:36 2006 UTC

1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3use IO::AIO; 3use IO::AIO;
4 4
5print "1..10\n"; 5print "1..12\n";
6 6
7my $grp = aio_group sub { 7my $grp = aio_group sub {
8 print $_[0] == 1 && @_ == 3 ? "" : "not ", "ok 4\n"; 8 print $_[0] == 1 && @_ == 3 ? "" : "not ", "ok 4\n";
9}; 9};
10 10
50IO::AIO::aio_sleep 0, sub { print "ok 9\n" }; 50IO::AIO::aio_sleep 0, sub { print "ok 9\n" };
51 51
52IO::AIO::poll while IO::AIO::nreqs; 52IO::AIO::poll while IO::AIO::nreqs;
53 53
54print "ok 10\n"; 54print "ok 10\n";
55
56aio_nop sub {
57 print "ok 11\n";
58};
59
60IO::AIO::poll while IO::AIO::nreqs;
61
62print "ok 12\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines