Btrfs-progs: add a test image for the transid fixer in btrfsck
PATCH 1/1 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 <[email protected]>
--- tests/fsck-tests.sh | 1 + tests/fsck-tests/002-bad-transid.img | Bin 0 -> 4096 bytes 2 files changed, 1 insertion(+) create mode 100644 tests/fsck-tests/002-bad-transid.img
tests/fsck-tests.sh +1 -0
@@ -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"
tests/fsck-tests/002-bad-transid.img new file binary +0 -0
Signature · 1 line
1.8.3.1