blob: 730d74bb5a08d58be73de51e935bd3cb13edcd26 [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.
{
collections: [
{
name: "devices-tests",
environment: "#legacy-test-env",
durability: "transient",
},
],
offer: [
{
// These hermetic capabilities are offered to be used by tests.
protocol: [
// Tests can write to debug logs
"fuchsia.boot.WriteOnlyLog",
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
"fuchsia.sys2.EventSource",
// Tests can produce trace.
"fuchsia.tracing.provider.Registry",
],
from: "parent",
to: [ "#devices-tests" ],
},
{
storage: "data",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "tmp",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "cache",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "custom_artifacts",
from: "self",
to: "#devices-tests",
},
// These system capabilities are offered for use by the devices tests.
{
directory: "dev",
from: "parent",
to: "#devices-tests",
},
],
}