| Index: runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| diff --git a/runtime/tests/vm/dart/hello_fuchsia_test.dart b/runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| index 35f2cef30a1e3dcc53b7b395dc57ecdf0c3f284f..1c36a0cf2870a9d582f21592190b68ced079df7e 100644
|
| --- a/runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| +++ b/runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "dart:async";
|
| +import "dart:convert";
|
| import "dart:io";
|
|
|
| testAddressParse() async {
|
| @@ -378,6 +379,13 @@ Future testGoogleHttps(SecurityContext context, String outcome) async {
|
| }
|
| }
|
|
|
| +Future testProcess() async {
|
| + Process p = await Process.start(Platform.executable, ["--version"]);
|
| + p.stderr.transform(UTF8.decoder).listen(print);
|
| + int code = await p.exitCode;
|
| + print("dart --version exited with code $code");
|
| +}
|
| +
|
| main() async {
|
| print("Hello, Fuchsia!");
|
|
|
| @@ -409,5 +417,9 @@ main() async {
|
| await testGoogleHttps(null, 'pass');
|
| print("testGoogleHttps done");
|
|
|
| + print("testProcess");
|
| + await testProcess();
|
| + print("testProcess done");
|
| +
|
| print("Goodbyte, Fuchsia!");
|
| }
|
|
|