| 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 1c36a0cf2870a9d582f21592190b68ced079df7e..bcda2bfab336050b20e3c2ecf5a6ccfaad3dd7e0 100644
|
| --- a/runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| +++ b/runtime/tests/vm/dart/hello_fuchsia_test.dart
|
| @@ -386,6 +386,13 @@ Future testProcess() async {
|
| print("dart --version exited with code $code");
|
| }
|
|
|
| +Future testLs(String path) async {
|
| + Stream<FileSystemEntity> stream = (new Directory(path)).list();
|
| + await for (FileSystemEntity fse in stream) {
|
| + print(fse.path);
|
| + }
|
| +}
|
| +
|
| main() async {
|
| print("Hello, Fuchsia!");
|
|
|
| @@ -417,6 +424,10 @@ main() async {
|
| await testGoogleHttps(null, 'pass');
|
| print("testGoogleHttps done");
|
|
|
| + print("lsTest");
|
| + await testLs("/");
|
| + print("lsTest done");
|
| +
|
| print("testProcess");
|
| await testProcess();
|
| print("testProcess done");
|
|
|