| // Copyright 2023 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. |
| { |
| children: [ |
| { |
| name: "test_tmpfs", |
| url: "fuchsia-pkg://fuchsia.com/test_manager#meta/memfs.cm", |
| }, |
| { |
| name: "fxfs_data", |
| url: "fuchsia-pkg://fuchsia.com/test_manager#meta/fxfs_backed_data_for_tests.cm", |
| }, |
| ], |
| capabilities: [ |
| { |
| storage: "tmp", |
| from: "#test_tmpfs", |
| subdir: "tmp", |
| backing_dir: "memfs", |
| storage_id: "static_instance_id_or_moniker", |
| }, |
| { |
| storage: "cache", |
| from: "#test_tmpfs", |
| subdir: "cache", |
| backing_dir: "memfs", |
| storage_id: "static_instance_id_or_moniker", |
| }, |
| { |
| directory: "fxfs_data", |
| rights: [ "rw*" ], |
| path: "/data_for_test", |
| }, |
| { |
| storage: "fxfs_tests_data", |
| from: "#fxfs_data", |
| backing_dir: "fxfs_data", |
| storage_id: "static_instance_id_or_moniker", |
| }, |
| ], |
| offer: [ |
| { |
| storage: "data", |
| from: "parent", |
| to: "#fxfs_data", |
| }, |
| { |
| protocol: "fuchsia.inspect.InspectSink", |
| from: "parent", |
| to: [ |
| "#fxfs_data", |
| "#test_tmpfs", |
| ], |
| }, |
| ], |
| } |