Whamcloud - gitweb
tests: add test for e2fsck of verity file
authorEric Biggers <ebiggers@google.com>
Tue, 28 May 2019 23:12:30 +0000 (16:12 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 May 2019 21:08:08 +0000 (17:08 -0400)
commit0e660ee14592d2e893522f2ccc836c011ca4f383
tree9746d66b14de5a454c7f57b9f173e555edd3a58f
parent40aa2743b5cf97399b69f65b84907d22d00120e0
tests: add test for e2fsck of verity file

Test that e2fsck doesn't report errors when an inode with the 'verity'
flag has blocks past i_size.

This is a regression test for commits 3baafde6a8ae ("e2fsck: allow
verity files to have initialized blocks past i_size") and 43466d039689
("e2fsck: handle verity files in scan_extent_node()").

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_verity/expect.1 [new file with mode: 0644]
tests/f_verity/image.gz [new file with mode: 0644]
tests/f_verity/mkimage.sh [new file with mode: 0755]
tests/f_verity/name [new file with mode: 0644]
tests/f_verity/script [new file with mode: 0644]