Files
apfstests/tests/generic/304.out
T
Darrick J. Wong 004197958e generic/304: fix high offset
"Invalid argument" is a better response to an impossibly high offset
dedupe request than "extents don't match", so change the test.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-02-19 10:50:58 +11:00

23 lines
597 B
Plaintext

QA output created by 304
Format and mount
Create the original files
Dedupe large single byte file
dedupe: Invalid argument
Dedupe large empty file
dedupe: Invalid argument
Dedupe past maximum file size in dest file (should fail)
dedupe: Invalid argument
Dedupe high offset to low offset
dedupe: Invalid argument
Dedupe past source file EOF (should fail)
dedupe: Invalid argument
Dedupe max size at nonzero offset (should fail)
dedupe: Invalid argument
Dedupe with huge off/len (should fail)
XFS_IOC_FILE_EXTENT_SAME: Invalid argument
Check file creation
file3
7ffffffffffffffe: 61 a
file4
file6