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

Comparing AnyEvent/t/09_multi.t (file contents):
Revision 1.5 by root, Fri Aug 12 18:41:26 2011 UTC vs.
Revision 1.7 by root, Sat Aug 27 15:59:12 2011 UTC

11EOF 11EOF
12 exit 0; 12 exit 0;
13 } 13 }
14 } 14 }
15} 15}
16
17$^W = 0; # 5.8.6 bugs
16 18
17use AnyEvent; 19use AnyEvent;
18use AnyEvent::Util; 20use AnyEvent::Util;
19BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} } 21BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} }
20 22
88 print $s == 0 ? "" : "not ", "ok 6 # $s\n"; 90 print $s == 0 ? "" : "not ", "ok 6 # $s\n";
89 91
90 kill INT => $$; 92 kill INT => $$;
91 93
92 $cv = AE::cv; 94 $cv = AE::cv;
93 $wt = AE::timer 0.01, 0, $cv; 95 $wt = AE::timer 0.2, 0, $cv; # maybe OS X needs more time here?
94 96
95 $s = 0; 97 $s = 0;
96 $cv->recv; 98 $cv->recv;
97 99
98 print $s == 3 ? "" : "not ", "ok 7 # $s\n"; 100 print $s == 3 ? "" : "not ", "ok 7 # $s\n";
131 print $s == 0 ? "" : "not ", "ok 9 # $s\n"; 133 print $s == 0 ? "" : "not ", "ok 9 # $s\n";
132 134
133 kill 9, $pid; 135 kill 9, $pid;
134 136
135 $cv = AE::cv; 137 $cv = AE::cv;
136 $wt = AE::timer 0.01, 0, $cv; 138 $wt = AE::timer 0.2, 0, $cv; # cygwin needs ages for this
137 139
138 $s = 0; 140 $s = 0;
139 $cv->recv; 141 $cv->recv;
140 142
141 print $s == 3 ? "" : "not ", "ok 10 # $s\n"; 143 print $s == 3 ? "" : "not ", "ok 10 # $s\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines