Purpose
To establish what a read does and does not tell a reader: the bytes come back as they are on the medium, and one call is what says whether they are the record.
Procedure
- Write a record, ask the check, and read it back intact.
- Change one byte of the payload on the medium and ask again, so the two hashes are printed side by side.
- Read the same address without the check, and show the changed bytes arriving as a record.
- Reopen the volume and state what a pass over it can tell and what it cannot, including the damage it cannot see.
Preconditions
- The entry points that already exist, on the C surface and in the engine.
- A take recorded against a real medium rather than a test fixture.
Deliverable
A terminal take of one call in three states, and the list of damage it does not catch.
Verification
A corruption test on one record.