test: Don't fill queue in run-pass/send-iloop. Closes #1244

This commit is contained in:
Brian Anderson 2011-12-01 20:36:03 -08:00
parent b8fcf0ab0e
commit 2511299024

View File

@ -14,7 +14,10 @@ fn iloop(&&_i: ()) {
let p = comm::port::<()>();
let c = comm::chan(p);
while true {
// Sending and receiving here because these actions yield,
// at which point our child can kill us
comm::send(c, ());
comm::recv(p);
}
}