Btrfs-progs: fsck: add tests for extent tree rebuilding
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Thu, 29 May 2014 10:01:44 +0000 (18:01 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:43:10 +0000 (14:43 +0200)
commit8efdd3ca4cbeaf51908f04ba9ea1fb689a30241f
tree92f97e265d63fb173860adca1cfa1099ddc86232
parent792ef0938d2a3a504e7b98ee8118a3de09c78f28
Btrfs-progs: fsck: add tests for extent tree rebuilding

We need test to verify extent tree rebuilding work, this test
create a strange filesystem with some snapshots, destroy
extent root node, and run fsck with "--init-extent-tree".

Since this tests need btrfs internal tool(btrfs-corrupt-block),so
i add this test into btrfs-progs.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
tests/fsck-tests.sh