blob: c4f51b834f6f82dae31bdb2b8318900775e8c5db [file] [log] [blame] [edit]
// 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: [
"inspect/client.shard.cml",
"sys/testing/elf_test_runner.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "test/partition-mapping",
},
use: [
{
// For access to /dev/class/block
directory: "dev",
rights: [ "r*" ],
path: "/dev",
},
{ protocol: "fuchsia.hardware.block.partition.Partition" },
],
// The test needs to examine the actual partition labels on the real storage
// on the device to make sure the label to zircon partition type mapping is
// correct. Thus we add the following to mark the test as non-hermetic.
// Ideally, a much preferred solution is to mock out the entire GPT storage
// and test in an isolated environment.
facets: {
"fuchsia.test": { type: "devices" },
},
}