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

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

Issue 13851008: Validate exit-code in regress_7191. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months 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 076d21947167458c5646c4d7d66c7ecc58e1ef60..7bc7a3e3091863fb1e1428056e9997ba76145f2f 100644
--- a/tests/standalone/io/regress_7191_script.dart
+++ b/tests/standalone/io/regress_7191_script.dart
@@ -18,7 +18,7 @@ main() {
// When receiving data again, kill sub-process and exit.
subscription.onData((data) {
p.kill();
- p.exitCode.then(exit);
+ p.exitCode.then((_) => exit(0));
});
// Close stdout. If handles are incorrectly inherited this will
// not actually close stdout and the test will hang.
« 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