mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/507: skip if we can't create a large sparse file for testing
Skip this test we can't create the large sparse file needed to test overflows. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
fe815742e2
commit
6478e33438
@@ -68,6 +68,7 @@ _require_fs_space $SCRATCH_MNT 1234567
|
||||
loop_file=$SCRATCH_MNT/a.img
|
||||
loop_mount=$SCRATCH_MNT/a
|
||||
$XFS_IO_PROG -f -c "truncate $loop_file_sz" $loop_file
|
||||
test -s $loop_file || _notrun "Could not create large sparse file"
|
||||
loop_dev=$(_create_loop_device $loop_file)
|
||||
|
||||
# Now we have to create the source file. The goal is to overflow a 32-bit
|
||||
|
||||
Reference in New Issue
Block a user