Files
apfstests/tests/generic/157.out
T
Darrick J. Wong f3965fde0a reflink: test error conditions due to bad inputs
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>
2015-11-17 08:39:50 +11:00

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