btrfs-progs: tests: Add test case for I_ERR_FILE_WRONG_NBYTES repair
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 2 Jul 2015 06:36:04 +0000 (14:36 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 3 Jul 2015 15:57:48 +0000 (17:57 +0200)
commitfabf14c540be8b85676c2637ad3741728bfe80fc
tree2222e953a80b42ba08584fa5532c41142309e740
parentdc198ef5432d9e43a2279cd8b3a86417e973010f
btrfs-progs: tests: Add test case for I_ERR_FILE_WRONG_NBYTES repair

Add a new test case for I_ERR_FILE_WRONG_NBYTES.
The new btrfs-image dump image contains a file in 12K size.
But nbytes in its inode item is a random number.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
tests/fsck-tests/016-wrong-inode-nbytes/default_case.img.xz [new file with mode: 0644]