blob: e411130c9706d4a9e31c6a80923d2f626d44310d [file] [log] [blame]
// 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: [
// Run as a non-hermetic system-ish test because we can't nest fuchsia.boot/fuchsia.kernel capabilities.
"//src/sys/test_runners/rust/default.shard.cml",
"inspect/offer.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/capability_provider_vfs_compliance_test",
},
children: [
{
name: "memfs",
url: "#meta/memfs.cm",
},
],
capabilities: [
{
storage: "data",
from: "#memfs",
backing_dir: "memfs",
storage_id: "static_instance_id_or_moniker",
},
],
use: [
{
protocol: [
"fuchsia.boot.Arguments",
"fuchsia.boot.FactoryItems",
"fuchsia.boot.Items",
"fuchsia.boot.ReadOnlyLog",
"fuchsia.boot.RootResource",
"fuchsia.boot.WriteOnlyLog",
"fuchsia.inspect.InspectSink",
"fuchsia.kernel.CpuResource",
"fuchsia.kernel.DebuglogResource",
"fuchsia.kernel.DebugResource",
"fuchsia.kernel.EnergyInfoResource",
"fuchsia.kernel.FramebufferResource",
"fuchsia.kernel.HypervisorResource",
"fuchsia.kernel.InfoResource",
"fuchsia.kernel.IommuResource",
"fuchsia.kernel.IrqResource",
"fuchsia.kernel.MexecResource",
"fuchsia.kernel.MmioResource",
"fuchsia.kernel.MsiResource",
"fuchsia.kernel.PowerResource",
"fuchsia.kernel.ProfileResource",
"fuchsia.kernel.RootJob",
"fuchsia.kernel.RootJobForInspect",
"fuchsia.kernel.Stats",
"fuchsia.kernel.VmexResource",
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
"fuchsia.sys2.CrashIntrospect",
],
},
{
protocol: [
"fuchsia.component.Binder",
"fuchsia.component.Namespace",
"fuchsia.component.Realm",
"fuchsia.component.sandbox.Factory",
"fuchsia.sys2.LifecycleController",
"fuchsia.sys2.RealmQuery",
"fuchsia.sys2.RouteValidator",
],
from: "framework",
},
{
protocol: "fuchsia.sys2.StorageAdmin",
from: "#data",
},
],
}