| Index: tests/standalone/regress_26031_test.dart
|
| diff --git a/tests/standalone/regress_26031_test.dart b/tests/standalone/regress_26031_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..44765c2ba7bfb91866f4ea0c3da723977749ad47
|
| --- /dev/null
|
| +++ b/tests/standalone/regress_26031_test.dart
|
| @@ -0,0 +1,20 @@
|
| +// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +import 'dart:io';
|
| +import 'dart:isolate';
|
| +
|
| +import "package:expect/expect.dart";
|
| +
|
| +void checkResolvedExecutable(String re) {
|
| + Expect.equals(Platform.resolvedExecutable, re);
|
| +}
|
| +
|
| +main() {
|
| + var exitPort = new ReceivePort();
|
| + Isolate.spawn(checkResolvedExecutable,
|
| + Platform.resolvedExecutable,
|
| + onExit: exitPort.sendPort);
|
| + exitPort.listen((_) => exitPort.close());
|
| +}
|
|
|