Btrfs-progs: add make test framework
authorJosef Bacik <jbacik@fusionio.com>
Mon, 9 Sep 2013 20:41:58 +0000 (16:41 -0400)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:11 +0000 (08:23 -0400)
commit0d342f8fcb5d99fbdc0765974570d6c335460904
tree20598ee3553c80dfc522852692d7e762bf897067
parentc2c5e53bf7fa9ab1bdeb57b902bc68db936c8f70
Btrfs-progs: add make test framework

We need to start adding some sanity tests to btrfs-progs to make sure we aren't
breaking things with our patches.  The most important of these tools is btrfsck.
This patch gets things started by adding a basic btrfsck test that makes sure we
can fix a corruption problem we know we can fix.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Makefile
tests/fsck-tests.sh [new file with mode: 0644]
tests/fsck-tests/001-bad-file-extent-bytenr.img [new file with mode: 0644]