aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-11 16:08:26 -0700
committerMichael Bebenita <[email protected]>2010-08-11 16:08:45 -0700
commit74e12fcef682acdbec6c3f4a3fb29b7583e7d1b6 (patch)
tree73abc23ff1587457b10279bc79d879d2e620f0be /src/test
parentAdded a -v(algrind) option to run.py. (diff)
downloadrust-74e12fcef682acdbec6c3f4a3fb29b7583e7d1b6.tar.xz
rust-74e12fcef682acdbec6c3f4a3fb29b7583e7d1b6.zip
Ignore upcall_flush for channels that are disassociated from ports. This makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/task-comm-10.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/run-pass/task-comm-10.rs b/src/test/run-pass/task-comm-10.rs
index 529ef6f5..4cdcf18b 100644
--- a/src/test/run-pass/task-comm-10.rs
+++ b/src/test/run-pass/task-comm-10.rs
@@ -2,8 +2,7 @@ io fn start(chan[chan[str]] c) {
let port[str] p = port();
c <| chan(p);
auto a <- p;
- auto b <- p;
- // Never read the second string.
+ // auto b <- p; // Never read the second string.
}
io fn main() {