reflink: more tests

Add more tests for unaligned copy-on-write things, and explicitly
test the ability to pass "len == 0" to mean reflink/dedupe all
the way to the end of the file".

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Darrick J. Wong
2015-12-21 18:13:37 +11:00
committed by Dave Chinner
parent e8c1ee12aa
commit 1b3dc467e4
11 changed files with 524 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
QA output created by 179
Create the original files
998b4ba52f2940dc515001e75926b19f TEST_DIR/test-179/file1
998b4ba52f2940dc515001e75926b19f TEST_DIR/test-179/file2
8cdf70c9cfb33bdc7397806b87e7c7ea TEST_DIR/test-179/file2.chk
fpunch files
Compare files
998b4ba52f2940dc515001e75926b19f TEST_DIR/test-179/file1
8cdf70c9cfb33bdc7397806b87e7c7ea TEST_DIR/test-179/file2
8cdf70c9cfb33bdc7397806b87e7c7ea TEST_DIR/test-179/file2.chk
Compare against check files