From 2ac6d5a76b110565c6cc6cebb8622e755cb3d2d4 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Fri, 10 Oct 2014 16:50:42 -0400 Subject: 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 --- tests/fsck-tests/008-bad-offset-snapshots.img | Bin 0 -> 249856 bytes tests/fsck-tests/009-bad-dir-index-name.img | Bin 0 -> 4096 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/008-bad-offset-snapshots.img create mode 100644 tests/fsck-tests/009-bad-dir-index-name.img 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 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 index 00000000..e004737f Binary files /dev/null and b/tests/fsck-tests/009-bad-dir-index-name.img differ -- cgit v1.2.3