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

Unified Diff: sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart

Issue 1060783002: Mostly fix signal-forwarding for "pub run". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « sdk/lib/_internal/pub/test/run/forwards_signal_posix_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart
diff --git a/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart b/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart
index cc01bc0810839985904da1918ef06bb3f1150cf2..0927fc19d679db8fd8ed1e286625e5cb1325e82e 100644
--- a/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart
+++ b/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart
@@ -12,7 +12,6 @@ import 'dart:io';
main() {
ProcessSignal.SIGHUP.watch().listen(print);
- ProcessSignal.SIGINT.watch().listen(print);
print("ready");
}
@@ -31,10 +30,8 @@ main() {
var pub = pubRun(args: ["bin/script"]);
pub.stdout.expect("ready");
- for (var signal in [ProcessSignal.SIGHUP, ProcessSignal.SIGINT]) {
- pub.signal(signal);
- pub.stdout.expect(signal.toString());
- }
+ pub.signal(Process.SIGINT);
+ pub.stdout.expect("SIGINT");
pub.kill();
});
« no previous file with comments | « sdk/lib/_internal/pub/test/run/forwards_signal_posix_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698