ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/03_child.t
(Generate patch)

Comparing AnyEvent/t/03_child.t (file contents):
Revision 1.4 by root, Fri Nov 9 19:34:32 2007 UTC vs.
Revision 1.6 by root, Sun Nov 25 13:53:04 2007 UTC

1$|=1; 1$|=1;
2BEGIN { print "1..7\n" } 2BEGIN { print "1..7\n" }
3 3
4use AnyEvent; 4use AnyEvent;
5use AnyEvent::Impl::Perl;
5 6
6print "ok 1\n"; 7print "ok 1\n";
7 8
8my $pid = fork; 9my $pid = fork;
9 10
10defined $pid or die "unable to fork"; 11defined $pid or die "unable to fork";
11 12
12# work around Tk bug until it has been fixed. 13# work around Tk bug until it has been fixed.
13my $timer = AnyEvent->timer (after => 2, cb => sub { }); 14#my $timer = AnyEvent->timer (after => 2, cb => sub { });
14 15
15my $cv = AnyEvent->condvar; 16my $cv = AnyEvent->condvar;
16 17
17unless ($pid) { 18unless ($pid) {
18 print "ok 2\n"; 19 print "ok 2\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines