blob: 1cd163c1e5405da2cfdf93fd96ca4fe8e1e8458e [file] [log] [blame]
// Copyright 2021 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/client.shard.cml",
],
children: [
{
name: "test_driver",
url: "fuchsia-pkg://fuchsia.com/omaha-client-integration-tests#meta/test_driver.cm",
},
{
name: "fake_cobalt",
url: "fuchsia-pkg://fuchsia.com/omaha-client-integration-tests#meta/fake_cobalt.cm",
},
],
offer: [
{
storage: "data",
from: "parent",
to: [ "#test_driver" ],
},
{
dictionary: "diagnostics",
from: "parent",
to: [
"#fake_cobalt",
"#test_driver",
],
},
{
protocol: [ "fuchsia.posix.socket.Provider" ],
from: "#netstack",
to: "#test_driver",
},
{
protocol: [ "fuchsia.net.name.Lookup" ],
from: "#dns_resolver",
to: "#test_driver",
},
{
protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ],
from: "#fake_cobalt",
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",
},
{
protocol: [ "fuchsia.diagnostics.ArchiveAccessor" ],
from: "parent",
to: "#test_driver",
},
],
expose: [
{
protocol: "fuchsia.test.Suite",
from: "#test_driver",
},
],
}