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)
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]

diff --git a/tests/fsck-tests/008-bad-offset-snapshots.img b/tests/fsck-tests/008-bad-offset-snapshots.img
new file mode 100644 (file)
index 0000000..b87e997
Binary files /dev/null and b/tests/fsck-tests/008-bad-offset-snapshots.img differ
diff --git a/tests/fsck-tests/009-bad-dir-index-name.img b/tests/fsck-tests/009-bad-dir-index-name.img
new file mode 100644 (file)
index 0000000..e004737
Binary files /dev/null and b/tests/fsck-tests/009-bad-dir-index-name.img differ