73015909a1
These are basically the same as our test_badblock tests, except we accept LFS_ERR_CORRUPT. This lets us test more checking modes that may not enable recovery (ckreads, ckfetches, etc). Well, in theory, at least. The lack of rollback protection gets in the way of both ckreads and ckfetches, so we're currently only testing ckprogs, which isn't much of an improvement. At least this gets the scaffolding in place... This also inverts the test_ck -> test_badblocks dependency. Now that these both have exhaustive tests, we might as well limit test_badblocks to simple erroring erases/progs and let test_ck check the ck checks.