From: Josef Bacik Date: Fri, 10 Oct 2014 20:50:42 +0000 (-0400) Subject: Btrfs-progs: add two new test images X-Git-Tag: upstream/4.16.1~2516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ac6d5a76b110565c6cc6cebb8622e755cb3d2d4;p=platform%2Fupstream%2Fbtrfs-progs.git 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 --- 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 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 index 0000000..e004737 Binary files /dev/null and b/tests/fsck-tests/009-bad-dir-index-name.img differ