btrfs-progs: Move leaf-corruption no extent data case and add verification script
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 25 Dec 2014 01:32:14 +0000 (09:32 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 14 Jan 2015 17:34:18 +0000 (18:34 +0100)
commit21afe4a316eb82d437b1cb2b8dab69c8b06a74bf
tree9f466efcdf6396519a0b6a26ca449612bd59f7a5
parenta65701b88e2e56d56b1ea7ba7c48019ec7fbbe48
btrfs-progs: Move leaf-corruption no extent data case and add verification script

Move leaf-corruption type no extent data case to its dir, and add
verification script in test.sh

The verification script is based on manual btrfs-debug-tree check.

The image can also be reused to other leaf-corruption type, like
corrupted leaf contains regular file extent data case.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
tests/fsck-tests/012-leaf-corruption/no_data_extent.tar.xz [moved from tests/fsck-tests/013-leaf-corruption-no-extent-data.tar.xz with 100% similarity]
tests/fsck-tests/012-leaf-corruption/test.sh [new file with mode: 0755]