| // Copyright 2020 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: [ |
| "//src/connectivity/network/meta/isolated-network.shard.cml", |
| "syslog/offer.shard.cml", |
| ], |
| children: [ |
| { |
| name: "test_driver", |
| url: "#meta/test_driver.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.posix.socket.Provider" ], |
| from: "#netstack", |
| to: "#test_driver", |
| }, |
| { |
| protocol: [ "fuchsia.net.name.Lookup" ], |
| from: "#dns_resolver", |
| to: "#test_driver", |
| }, |
| { |
| dictionary: "diagnostics", |
| from: "parent", |
| to: "#test_driver", |
| }, |
| { |
| protocol: [ "fuchsia.process.Launcher" ], |
| from: "parent", |
| to: "#test_driver", |
| }, |
| { |
| storage: "tmp", |
| from: "parent", |
| to: "#test_driver", |
| }, |
| |
| // fuchsia_hyper::new_https_client fails if there isn't a file at /config/ssl/cert.pem, but |
| // the tests don't actually make https connections and so don't need any certs, so we can |
| // just give them an empty file instead of making them a system test and giving them the |
| // system certs. |
| { |
| directory: "pkg", |
| from: "framework", |
| as: "root-ssl-certificates", |
| to: "#test_driver", |
| rights: [ "r*" ], |
| subdir: "fake-ssl-certs", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#test_driver", |
| }, |
| ], |
| } |