Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: tests/standalone/io/regress_7191_script.dart

Issue 11530008: Fix newly added regression test that left processes hanging on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/standalone/io/regress_7191_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_7191_script.dart
diff --git a/tests/standalone/io/regress_7191_script.dart b/tests/standalone/io/regress_7191_script.dart
index 9ba5e607a479fa0378b05b267a39e679e368a217..d90f0b544c29283b5bdd2e9bfcfe98e354707d41 100644
--- a/tests/standalone/io/regress_7191_script.dart
+++ b/tests/standalone/io/regress_7191_script.dart
@@ -18,13 +18,13 @@ main() {
// When receiving data again, kill sub-process and exit.
stdin.onData = () {
var data = stdin.read();
- Expect.listEquals([1], data);
+ Expect.listEquals([0], data);
p.kill();
- p.onExit = port.close;
+ p.onExit = exit;
};
// Close stdout. If handles are incorrectly inherited this will
// not actually close stdout and the test will hang.
stdout.close();
});
};
-}
+}
« no previous file with comments | « no previous file | tests/standalone/io/regress_7191_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698