mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
libcore: Fix some more coretest bustage. rs=bustage
This commit is contained in:
parent
1282fc8074
commit
7a065f2434
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user