| // 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/inspect/offer.shard.cml", |
| "//src/sys/test_runners/gotests/default.shard.cml", |
| "//src/sys/test_runners/tmp_storage.shard.cml", |
| ], |
| program: { |
| binary: "test/go_net_test", |
| args: [ |
| "--test.v", |
| "--test.timeout", |
| "2m", |
| ], |
| }, |
| children: [ |
| { |
| name: "netstack", |
| url: "#meta/netstack.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.net.interfaces.State", |
| "fuchsia.posix.socket.Provider", |
| ], |
| from: "#netstack", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.logger.LogSink" ], |
| from: "parent", |
| to: [ "#netstack" ], |
| }, |
| { |
| storage: "tmp", |
| from: "parent", |
| as: "cache", |
| to: "#netstack", |
| }, |
| ], |
| } |