blob: fdbf4fe35fae5eecff2bb252750f356941c92de1 [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/storage/testing/driver_test_realm/meta/client.shard.cml" ],
children: [
{
name: "pkg_harness",
url: "fuchsia-pkg://fuchsia.com/pkgdir-integration-tests#meta/pkg-harness.cm",
},
{
name: "pkgdir_integration_test",
url: "fuchsia-pkg://fuchsia.com/pkgdir-integration-tests#meta/pkgdir-integration-test.cm",
},
],
offer: [
{
directory: "dev",
from: "#storage_driver_test_realm",
to: [ "#pkg_harness" ],
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#pkg_harness",
"#pkgdir_integration_test",
],
},
{
protocol: [
"fuchsia.process.Launcher",
"fuchsia.sys.Launcher",
],
from: "parent",
to: [ "#pkg_harness" ],
},
{
storage: "tmp",
from: "parent",
to: [ "#pkg_harness" ],
},
{
protocol: [ "test.fidl.pkg.Harness" ],
from: "#pkg_harness",
to: [ "#pkgdir_integration_test" ],
},
],
expose: [
{
protocol: "fuchsia.test.Suite",
from: "#pkgdir_integration_test",
},
],
}