]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/test: Mark and ignore broken test failures
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 22 Jun 2022 20:25:18 +0000 (14:25 -0600)
committerJes Sorensen <jes@trained-monkey.org>
Sun, 7 Aug 2022 20:27:59 +0000 (16:27 -0400)
commit28520bf114b3b0515a48ff44fff4ecbe9ed6dfad
treea687d764c003dca40a4154042a122014be48e967
parenta7bfcc716e235664dfb3b6c5a9590273e611ac72
mdadm/test: Mark and ignore broken test failures

Add functionality to continue if a test marked as broken fails.

To mark a test as broken, a file with the same name but with the suffix
'.broken' should exist. The first line in the file will be printed with
a KNOWN BROKEN message; the rest of the file can describe the how the
test is broken.

Also adds --skip-broken and --skip-always-broken to skip all the tests
that have a .broken file or to skip all tests whose .broken file's first
line contains the keyword always.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
test