btrfs/030: add more test cases
authorFilipe David Borba Manana <fdmanana@gmail.com>
Sun, 2 Feb 2014 23:06:50 +0000 (10:06 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 2 Feb 2014 23:06:50 +0000 (10:06 +1100)
commitad969ca34be54fc3a25bfdcc7fb7a5fb55013b04
tree5ffdffd482d520be55a5c9515c0184c94a25b325
parent138ea5c76cdffdbe061a1b3d05e806c6039a6e68
btrfs/030: add more test cases

This change adds some new tests for btrfs' incremental send feature.
These are all related with inverting the parent-child relationship
of directories, and cover the cases:

* when the new parent didn't get renamed (just moved)
* when a child file of the former parent gets renamed too

These new cases are fixed by the following btrfs linux kernel patches:

* "Btrfs: more send support for parent/child dir relationship inversion"
* "Btrfs: fix send dealing with file renames and directory moves"

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/030