diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-10-01 08:58:33 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:23:12 -0400 |
commit | 2454473dd1647e83d6eba9852eeb08d331e9ea9a (patch) | |
tree | 6d9dc046387d9118312f74ab4aced0a780a052c6 | |
parent | fd815de85937c8ef64adcee6596c0b7f6655c461 (diff) |
Btrfs-progs: add a test image for the transid fixer in btrfsck
This is a verification test for the transid recow functionality of btrfsck.
I've also adjusted the test script to spit out which image it's testing so I can
be sure the image was getting tested. 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>
-rw-r--r-- | tests/fsck-tests.sh | 1 | ||||
-rw-r--r-- | tests/fsck-tests/002-bad-transid.img | bin | 0 -> 4096 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/tests/fsck-tests.sh b/tests/fsck-tests.sh index c1490bf3..25c390d0 100644 --- a/tests/fsck-tests.sh +++ b/tests/fsck-tests.sh @@ -17,6 +17,7 @@ rm -f fsck-tests-results.txt for i in $(find $here/tests/fsck-tests -name '*.img') do + echo " [TEST] $(basename $i)" echo "testing image $i" >> fsck-tests-results.txt $here/btrfs-image -r $i test.img >> fsck-tests-results.txt 2>&1 \ || _fail "restore failed" diff --git a/tests/fsck-tests/002-bad-transid.img b/tests/fsck-tests/002-bad-transid.img Binary files differnew file mode 100644 index 00000000..85bd87cd --- /dev/null +++ b/tests/fsck-tests/002-bad-transid.img |