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

Comparing AnyEvent/t/68_poe_09_multi.t (file contents):
Revision 1.4 by root, Fri Aug 12 18:41:30 2011 UTC vs.
Revision 1.7 by root, Sat Aug 27 15:59:13 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;
19 21
20 BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) } 22 BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) }
92 print $s == 0 ? "" : "not ", "ok 6 # $s\n"; 94 print $s == 0 ? "" : "not ", "ok 6 # $s\n";
93 95
94 kill INT => $$; 96 kill INT => $$;
95 97
96 $cv = AE::cv; 98 $cv = AE::cv;
97 $wt = AE::timer 0.01, 0, $cv; 99 $wt = AE::timer 0.1, 0, $cv; # maybe OS X needs more time here?
98 100
99 $s = 0; 101 $s = 0;
100 $cv->recv; 102 $cv->recv;
101 103
102 print $s == 3 ? "" : "not ", "ok 7 # $s\n"; 104 print $s == 3 ? "" : "not ", "ok 7 # $s\n";
135 print $s == 0 ? "" : "not ", "ok 9 # $s\n"; 137 print $s == 0 ? "" : "not ", "ok 9 # $s\n";
136 138
137 kill 9, $pid; 139 kill 9, $pid;
138 140
139 $cv = AE::cv; 141 $cv = AE::cv;
140 $wt = AE::timer 0.01, 0, $cv; 142 $wt = AE::timer 0.2, 0, $cv; # cygwin needs ages for this
141 143
142 $s = 0; 144 $s = 0;
143 $cv->recv; 145 $cv->recv;
144 146
145 print $s == 3 ? "" : "not ", "ok 10 # $s\n"; 147 print $s == 3 ? "" : "not ", "ok 10 # $s\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines