| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ |
| "//sdk/lib/syslog/client.shard.cml", |
| "//src/sys/test_runners/rust/default.shard.cml", |
| "inspect/offer.shard.cml", |
| ], |
| program: { |
| binary: "bin/pty_lib_test", |
| }, |
| children: [ |
| { |
| name: "ptysvc", |
| url: "ptysvc#meta/ptysvc.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.hardware.pty.Device", |
| from: "#ptysvc", |
| }, |
| { protocol: "fuchsia.process.Launcher" }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.boot.WriteOnlyLog", |
| from: "parent", |
| to: "#ptysvc", |
| }, |
| ], |
| } |