btrfs-progs: tests: test multiple-linked file corruption
authorNaohiro Aota <naota@elisp.net>
Tue, 8 Dec 2015 02:07:13 +0000 (11:07 +0900)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2016 14:01:03 +0000 (15:01 +0100)
commitebb66f20aeee76a776d0d64502a9f85d6e8fb77b
tree5dd736bb596dcbdb6797bc6f87a9d3e0748c45bf
parent9c572c38a1dd87cdbe1f9811ac17eff90f6c10c0
btrfs-progs: tests: test multiple-linked file corruption

This commit extends the leaf corruption test to try to repair a file
linked from multiple directory. It stresses a case that some links to a
file is broken but others kept valid.

Signed-off-by: Naohiro Aota <naota@elisp.net>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fsck-tests/012-leaf-corruption/no_data_extent.tar.xz
tests/fsck-tests/012-leaf-corruption/test.sh