mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: create copy_range group
Move some tests to the copy_range group so they are distinct from the copy group which refers to xfs_copy tests. [Amir] Revert copy past EOF behavior change Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
8ca445c46e
commit
7a3a9f5754
@@ -46,10 +46,12 @@ $XFS_IO_PROG -f -c "copy_range -s 1000 -l 100 $testdir/file" "$testdir/copy"
|
|||||||
md5sum $testdir/copy | _filter_test_dir
|
md5sum $testdir/copy | _filter_test_dir
|
||||||
|
|
||||||
echo "Try to copy to a read-only file"
|
echo "Try to copy to a read-only file"
|
||||||
|
rm -f $testdir/copy
|
||||||
$XFS_IO_PROG -r -f -c "copy_range -s 0 -l 100 $testdir/file" "$testdir/copy"
|
$XFS_IO_PROG -r -f -c "copy_range -s 0 -l 100 $testdir/file" "$testdir/copy"
|
||||||
md5sum $testdir/copy | _filter_test_dir
|
md5sum $testdir/copy | _filter_test_dir
|
||||||
|
|
||||||
echo "Try to copy to an append-only file"
|
echo "Try to copy to an append-only file"
|
||||||
|
rm -f $testdir/copy
|
||||||
$XFS_IO_PROG -a -f -c "copy_range -s 0 -l 100 $testdir/file" "$testdir/copy"
|
$XFS_IO_PROG -a -f -c "copy_range -s 0 -l 100 $testdir/file" "$testdir/copy"
|
||||||
md5sum $testdir/copy | _filter_test_dir
|
md5sum $testdir/copy | _filter_test_dir
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -432,11 +432,11 @@
|
|||||||
427 auto quick aio rw
|
427 auto quick aio rw
|
||||||
428 auto quick dax
|
428 auto quick dax
|
||||||
429 auto encrypt
|
429 auto encrypt
|
||||||
430 auto quick copy
|
430 auto quick copy_range
|
||||||
431 auto quick copy
|
431 auto quick copy_range
|
||||||
432 auto quick copy
|
432 auto quick copy_range
|
||||||
433 auto quick copy
|
433 auto quick copy_range
|
||||||
434 auto quick copy
|
434 auto quick copy_range
|
||||||
435 auto encrypt
|
435 auto encrypt
|
||||||
436 auto quick rw seek prealloc
|
436 auto quick rw seek prealloc
|
||||||
437 auto quick dax
|
437 auto quick dax
|
||||||
|
|||||||
Reference in New Issue
Block a user