Move code for extract image file to a function from check_all_images()
for common use, so caller can use this function to extrace single
image file.
Changelog v1->v2:
1: Use stdout instead of global variant to store extracted image filename.
Suggested-by: David Sterba <dsterba@xxxxxxx>
Zhao Lei (3):
btrfs-progs: tests: Move extract_image out of check_all_images for
common use
btrfs-progs: tests: Introduce fsck-tests/018-leaf-across-stripes
btrfs-progs: tests: Introduce misc-tests/008-leaf-across-stripes
tests/common | 76 ++++++++++++---------
.../018-leaf-across-stripes/default_case.raw.xz | Bin 0 -> 105064 bytes
tests/fsck-tests/018-leaf-across-stripes/test.sh | 12 ++++
tests/misc-tests/008-leaf-across-stripes/test.sh | 23 +++++++
4 files changed, 78 insertions(+), 33 deletions(-)
create mode 100644 tests/fsck-tests/018-leaf-across-stripes/default_case.raw.xz
create mode 100755 tests/fsck-tests/018-leaf-across-stripes/test.sh
create mode 100755 tests/misc-tests/008-leaf-across-stripes/test.sh
--
1.8.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html