libcore: Fix some more coretest bustage. rs=bustage

This commit is contained in:
Patrick Walton 2012-12-05 15:30:00 -08:00
parent 1282fc8074
commit 7a065f2434

View file

@ -785,7 +785,7 @@ fn test_spawn_linked_sup_fail_up() { // child fails; parent fails
let b1 = TaskBuilder {
opts: move opts,
can_not_copy: None,
.. *b0
.. b0
};
do b1.spawn { fail; }
comm::recv(po); // We should get punted awake
@ -805,7 +805,7 @@ fn test_spawn_linked_sup_fail_down() { // parent fails; child fails
let b1 = TaskBuilder {
opts: move opts,
can_not_copy: None,
.. *b0
.. b0
};
do b1.spawn { loop { task::yield(); } }
fail; // *both* mechanisms would be wrong if this didn't kill the child...