]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/574: test corruption at more offsets
authorEric Biggers <ebiggers@google.com>
Wed, 12 Jun 2024 03:53:34 +0000 (20:53 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 21 Jun 2024 16:38:24 +0000 (00:38 +0800)
commit8f5ce6b34fc6b406f1204b8dab8dc2c8fdeb3ce2
tree6a84fbd69c53ed2eec297fb672ce729f3e04e65e
parent9cca19c674a9745c5daa225a5d390902f5834076
generic/574: test corruption at more offsets

Expand generic/574 to test for corruption in more different parts of the
file to try to exercise any hashing optimizations that might be used.

There is no existing bug that this finds.  This is just to prevent
future bugs, considering optimizations along the lines of
https://lore.kernel.org/fsverity/20240611034822.36603-7-ebiggers@kernel.org/

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/574