btrfs: add test for btrfs-progs restore feature
authorFilipe David Borba Manana <fdmanana@gmail.com>
Thu, 13 Mar 2014 04:18:18 +0000 (15:18 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 13 Mar 2014 04:18:18 +0000 (15:18 +1100)
commit5f1cd20ff2a870a474bc340660e1b44e522c2bbc
tree76511da52a0ce061f75f5a63d631313491031fea
parent336581726fb845eb48280ee99448676f07e43cc4
btrfs: add test for btrfs-progs restore feature

This is a regression test to verify that the restore feature of btrfs-progs
is able to correctly recover files that have compressed extents, specially when
the respective file extent items have a non-zero data offset field.

This issue is fixed by the following btrfs-progs patch:

    Btrfs-progs: fix restore dealing with compressed extents

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/041 [new file with mode: 0755]
tests/btrfs/041.out [new file with mode: 0644]
tests/btrfs/group