mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
committed by
Dave Chinner
parent
bed1fedae6
commit
f3965fde0a
@@ -0,0 +1,24 @@
|
||||
QA output created by 158
|
||||
Format and mount
|
||||
Create the original files
|
||||
Try cross-device dedupe
|
||||
dedupe: Invalid cross-device link
|
||||
Try unaligned dedupe
|
||||
dedupe: Invalid argument
|
||||
Try overlapping dedupe
|
||||
dedupe: Invalid argument
|
||||
Try dedupe past EOF
|
||||
dedupe: Invalid argument
|
||||
Try to dedupe a dir
|
||||
XFS_IOC_FILE_EXTENT_SAME: Is a directory
|
||||
Try to dedupe a device
|
||||
XFS_IOC_FILE_EXTENT_SAME: Permission denied
|
||||
Try to dedupe to a dir
|
||||
/mnt/test-158/dir1: Is a directory
|
||||
Try to dedupe to a device
|
||||
dedupe: Permission denied
|
||||
Try to dedupe to a fifo
|
||||
dedupe: Permission denied
|
||||
Try to dedupe an append-only file
|
||||
Dedupe two files
|
||||
Check scratch fs
|
||||
Reference in New Issue
Block a user