btrfs-progs/tests/convert-tests
Qu Wenruo 761add2622 btrfs-progs: tests: check that convert does not create extents beyond device boundary
Add a test case to check if the converted fs has device extent beyond
boundary.

The disk layout of source ext4 fs needs some extents to make them
allocated at the very end of the fs.  The script is from the original
reporter.

Also, since the existing convert tests always uses 512M as device size,
which is not suitable for this test case, make it to grab the existing
device size to co-operate with this test case.

Reported-by: Jiachen YANG <farseerfc@gmail.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-06-29 17:45:39 +02:00
..
001-ext2-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
002-ext3-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
003-ext4-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
004-ext2-backup-superblock-ranges btrfs-progs: tests: drop keyword function 2019-07-04 15:36:01 +02:00
005-delete-all-rollback btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
006-large-hole-extent btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
007-unsupported-block-sizes btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
008-readonly-image btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
009-common-inode-flags btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
010-reiserfs-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
011-reiserfs-delete-all-rollback btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
012-reiserfs-large-hole-extent btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
013-reiserfs-common-inode-flags btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
014-reiserfs-tail-handling btrfs-progs: tests: convert/014 use shell builtin for generating content 2018-03-30 22:15:55 +02:00
015-no-rollback-after-balance btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
016-invalid-large-inline-extent btrfs-progs: test/convert: Add test case for invalid large inline data extent 2018-03-30 22:15:54 +02:00
017-fs-near-full btrfs-progs: tests: check that convert does not create extents beyond device boundary 2020-06-29 17:45:39 +02:00