Index: tests/standalone/io/signal_test_script.dart |
diff --git a/tests/standalone/io/signal_test_script.dart b/tests/standalone/io/signal_test_script.dart |
index 07f4c0341df59e425fc5e5c394cf341187e41a54..31e17de586245f658a6a985c61482e5c42a1dfac 100644 |
--- a/tests/standalone/io/signal_test_script.dart |
+++ b/tests/standalone/io/signal_test_script.dart |
@@ -11,12 +11,24 @@ void main(args) { |
for (var arg in args) { |
var signal; |
switch (arg) { |
- case 'SIGHUP': signal = ProcessSignal.SIGHUP; break; |
- case 'SIGINT': signal = ProcessSignal.SIGINT; break; |
- case 'SIGTERM': signal = ProcessSignal.SIGTERM; break; |
- case 'SIGUSR1': signal = ProcessSignal.SIGUSR1; break; |
- case 'SIGUSR2': signal = ProcessSignal.SIGUSR2; break; |
- case 'SIGWINCH': signal = ProcessSignal.SIGWINCH; break; |
+ case 'SIGHUP': |
+ signal = ProcessSignal.SIGHUP; |
+ break; |
+ case 'SIGINT': |
+ signal = ProcessSignal.SIGINT; |
+ break; |
+ case 'SIGTERM': |
+ signal = ProcessSignal.SIGTERM; |
+ break; |
+ case 'SIGUSR1': |
+ signal = ProcessSignal.SIGUSR1; |
+ break; |
+ case 'SIGUSR2': |
+ signal = ProcessSignal.SIGUSR2; |
+ break; |
+ case 'SIGWINCH': |
+ signal = ProcessSignal.SIGWINCH; |
+ break; |
} |
signal.watch().first.then((s) { |
if (signal != s) exit(1); |