blob: 396713bf8588a781917af2379876baa037f169e8 [file] [log] [blame]
// Copyright 2024 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/sys/component/realm_builder.shard.cml",
"//src/storage/fs_test/meta/fxfs_crypt_test.shard.cml",
"//src/storage/lib/fs_management/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/test_fxfs_bin",
},
capabilities: [
{
directory: "data",
rights: [ "rw*" ],
path: "/data",
},
{ protocol: "fuchsia.fxfs.test.TestFxfsAdmin" },
],
use: [
{
directory: "dev-class-block",
rights: [ "r*" ],
path: "/dev/class/block",
},
{
directory: "sys",
rights: [ "rw*" ],
path: "/dev/sys",
},
{
config: "fuchsia.fshost.FxfsBlob",
key: "fxfs_blob",
type: "bool",
default: false,
availability: "optional",
},
{
config: "fuchsia.fshost.StorageHost",
key: "storage_host",
type: "bool",
default: false,
availability: "optional",
},
{
service: [ "fuchsia.storage.partitions.PartitionService" ],
availability: "optional",
},
{
protocol: [ "fuchsia.storage.partitions.PartitionsManager" ],
availability: "optional",
},
],
expose: [
{
directory: "data",
from: "self",
subdir: "fxfs_root_dir",
},
{
protocol: "fuchsia.fxfs.test.TestFxfsAdmin",
from: "self",
},
],
}