]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4: regression test for "tune2fs -l" after ext4 shutdown
authorBoyang Xue <bxue@redhat.com>
Thu, 19 Aug 2021 08:07:51 +0000 (16:07 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 22 Aug 2021 10:35:53 +0000 (18:35 +0800)
commit39d6777fb39f54688250ec36ba4322194ae7c03c
tree334c713a053da50fcdf8afbfcd6f64e087538766
parent88ed9a8131c336f7f471f40fab8930953676b59e
ext4: regression test for "tune2fs -l" after ext4 shutdown

Regression test for e2fsprogs commit:

e905fbe3fd0f ext4: Fix tune2fs checksum failure for mounted filesystem

This test runs "tune2fs -l" after ext4 shutdown. tune2fs reads
superblock checksum from the buffer cache. On unfixed kernels, the
checksum is incorrect until the writeout happens, so tune2fs fails
with "superblock checksum does not match" in this case.

Signed-off-by: Boyang Xue <bxue@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/ext4/051 [new file with mode: 0755]
tests/ext4/051.out [new file with mode: 0644]