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

Side by Side Diff: test/run/forwards_signal_posix_test.dart

Issue 1226083002: Fix several Windows issues. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Remove CR LF fixes. Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | test/test_pub.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Windows doesn't support sending signals.
6 @TestOn('!windows')
7
5 import 'dart:io'; 8 import 'dart:io';
6 9
7 import '../descriptor.dart' as d; 10 import '../descriptor.dart' as d;
8 import '../test_pub.dart'; 11 import '../test_pub.dart';
9 12
10 const _catchableSignals = const [ 13 const _catchableSignals = const [
11 ProcessSignal.SIGHUP, 14 ProcessSignal.SIGHUP,
12 ProcessSignal.SIGTERM, 15 ProcessSignal.SIGTERM,
13 ProcessSignal.SIGUSR1, 16 ProcessSignal.SIGUSR1,
14 ProcessSignal.SIGUSR2, 17 ProcessSignal.SIGUSR2,
(...skipping 27 matching lines...) Expand all
42 45
43 pub.stdout.expect("ready"); 46 pub.stdout.expect("ready");
44 for (var signal in _catchableSignals) { 47 for (var signal in _catchableSignals) {
45 pub.signal(signal); 48 pub.signal(signal);
46 pub.stdout.expect(signal.toString()); 49 pub.stdout.expect(signal.toString());
47 } 50 }
48 51
49 pub.kill(); 52 pub.kill();
50 }); 53 });
51 } 54 }
OLDNEW
« no previous file with comments | « no previous file | test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698