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

Side by Side Diff: sdk/lib/_internal/pub/test/cache/repair/updates_binstubs_test.dart

Issue 899373002: Update pub to use the VM's new bad-snapshot exit code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix status and one more test Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library pub_tests; 5 library pub_tests;
6 6
7 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
8 8
9 import '../../descriptor.dart' as d; 9 import '../../descriptor.dart' as d;
10 import '../../test_pub.dart'; 10 import '../../test_pub.dart';
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 Reactivating foo 1.0.0... 50 Reactivating foo 1.0.0...
51 Precompiling executables... 51 Precompiling executables...
52 Loading source assets... 52 Loading source assets...
53 Precompiled foo:script. 53 Precompiled foo:script.
54 Installed executable foo-script. 54 Installed executable foo-script.
55 Reactivated 1 package.'''); 55 Reactivated 1 package.''');
56 56
57 // The broken versions should have been replaced. 57 // The broken versions should have been replaced.
58 d.dir(cachePath, [ 58 d.dir(cachePath, [
59 d.dir('bin', [ 59 d.dir('bin', [
60 // 255 is the VM's exit code upon seeing an out-of-date snapshot. 60 // 253 is the VM's exit code upon seeing an out-of-date snapshot.
61 d.matcherFile(binStubName('foo-script'), contains('255')) 61 d.matcherFile(binStubName('foo-script'), contains('253'))
62 ]) 62 ])
63 ]).validate(); 63 ]).validate();
64 }); 64 });
65 } 65 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/pub.status ('k') | sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698