blob: 05bbdae5bbaa631e30faa0be458f998cfb2b955d [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "platform_DMVerityBitCorruption"
PURPOSE = "Ensure dm-verity fails on failed integrity checks or integrity data"
CRITERIA = """
dm-verity should cause errors to be generated. On test builds, it
should return IO errors on bad data.
"""
TIME = "LONG"
TEST_CATEGORY = "Functional"
TEST_CLASS = "Platform"
TEST_TYPE = "client"
SUITE = "security"
DOC = """
Ensures the dm-verity module is properly failing on invalid data
"""
job.run_test('platform_DMVerityBitCorruption', tag='first', bit_loc='first')
job.run_test('platform_DMVerityBitCorruption', tag='middle', bit_loc='middle')
job.run_test('platform_DMVerityBitCorruption', tag='last', bit_loc='last')