Btrfs-progs: add two new test images
authorJosef Bacik <jbacik@fb.com>
Fri, 10 Oct 2014 20:50:42 +0000 (16:50 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 18 Dec 2014 16:28:02 +0000 (17:28 +0100)
commit2ac6d5a76b110565c6cc6cebb8622e755cb3d2d4
tree5f3ed9e56c23943c6b776727479c29274d9fb0c8
parenta6b4a7aea0c3fe9526a652136885d442dbe79376
Btrfs-progs: add two new test images

This adds two new test images

1) 008-bad-offset-snapshots.  This has a corrupt item with multiple snapshots
pointing to it, to make sure the bad block repair stuff doesn't loop and
actually repairs stuff.  It also requires the dir index repair stuff to pass our
built in tests which is why it's not tied to the same commit.

2) 009-bad-dir-index-name.img. This has a corrupt name in a dir index to make
sure our dir index repair stuff is working properly.

Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
tests/fsck-tests/008-bad-offset-snapshots.img [new file with mode: 0644]
tests/fsck-tests/009-bad-dir-index-name.img [new file with mode: 0644]