mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
f3965fde0a
Check that we can feed bad inputs to reflink/dedupe and it'll reject them. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
26 lines
752 B
Plaintext
26 lines
752 B
Plaintext
QA output created by 157
|
|
Format and mount
|
|
Create the original files
|
|
Try cross-device reflink
|
|
XFS_IOC_CLONE_RANGE: Invalid cross-device link
|
|
Try unaligned reflink
|
|
XFS_IOC_CLONE_RANGE: Invalid argument
|
|
Try overlapping reflink
|
|
XFS_IOC_CLONE_RANGE: Invalid argument
|
|
Try reflink past EOF
|
|
XFS_IOC_CLONE_RANGE: Invalid argument
|
|
Try to reflink a dir
|
|
XFS_IOC_CLONE_RANGE: Is a directory
|
|
Try to reflink a device
|
|
XFS_IOC_CLONE_RANGE: Invalid argument
|
|
Try to reflink to a dir
|
|
/mnt/test-157/dir1: Is a directory
|
|
Try to reflink to a device
|
|
XFS_IOC_CLONE_RANGE: Operation not supported
|
|
Try to reflink to a fifo
|
|
XFS_IOC_CLONE_RANGE: Operation not supported
|
|
Try to reflink an append-only file
|
|
XFS_IOC_CLONE_RANGE: Bad file descriptor
|
|
Reflink two files
|
|
Check scratch fs
|