btrfs: add test for clone operation
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 27 May 2014 02:07:36 +0000 (12:07 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 27 May 2014 02:07:36 +0000 (12:07 +1000)
commitd14027745c7ef761360f030f807499884c9cb086
tree763bc69d2c47fc9d9b7a8cd05b69c96052c11255
parent86da66cc4f083e3006d0f4679bd9ef24d93e6b7a
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>
tests/btrfs/052 [new file with mode: 0755]
tests/btrfs/052.out [new file with mode: 0644]
tests/btrfs/group