btrfs: add test for clone operation

This is a test to verify that the btrfs ioctl clone operation is
able to clone extents of a file to different positions of the file,
that is, the source and target files are the same. Existing tests
only cover the case where the source and target files are different.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Filipe David Borba Manana
2014-05-27 12:07:36 +10:00
committed by Dave Chinner
parent 86da66cc4f
commit d14027745c
3 changed files with 671 additions and 0 deletions
+1
View File
@@ -54,3 +54,4 @@
049 auto quick
050 auto
051 auto quick
052 auto quick