diff options
authorJosef Bacik <>2014-10-10 16:50:42 -0400
committerDavid Sterba <>2014-12-18 17:28:02 +0100
commit2ac6d5a76b110565c6cc6cebb8622e755cb3d2d4 (patch)
parenta6b4a7aea0c3fe9526a652136885d442dbe79376 (diff)
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 <>
-rw-r--r--tests/fsck-tests/008-bad-offset-snapshots.imgbin0 -> 249856 bytes
-rw-r--r--tests/fsck-tests/009-bad-dir-index-name.imgbin0 -> 4096 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/tests/fsck-tests/008-bad-offset-snapshots.img b/tests/fsck-tests/008-bad-offset-snapshots.img
new file mode 100644
index 00000000..b87e9977
--- /dev/null
+++ b/tests/fsck-tests/008-bad-offset-snapshots.img
Binary files 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
index 00000000..e004737f
--- /dev/null
+++ b/tests/fsck-tests/009-bad-dir-index-name.img
Binary files differ