btrfs-progs/tests/convert-tests
David Sterba 88de623dd2 btrfs-progs: convert: allow to set a duplicate uuid
Relax the condition about a unique uuid for convert, only print a
warning. In case we copy the uuid, it's expected that at the time the
conversion starts the uuid is not unique as it sill exists on the source
filesystem.

In case user sets the uuid manually but it's still the same one as on
the source filesystem we should also allow that, so it warns in this
case as well.

Update the test so it creates a block device where the uuid would be
also cached by blkid and lets the non-unique check succeed.

Issue: #404
Signed-off-by: David Sterba <dsterba@suse.com>
2021-09-20 16:58:13 +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
018-fs-size-overflow btrfs-progs: tests: add convert test case for multiply overflow 2020-08-31 17:01:02 +02:00
019-ext4-copy-timestamps btrfs-progs: tests: verify that ext4 supports extra_isize 2021-03-23 17:04:22 +01:00
020-refuse-needs-recovery btrfs-progs: tests: add crafted image to test needs_recovery 2021-03-23 17:04:21 +01:00
021-uuid-fsid btrfs-progs: convert: allow to set a duplicate uuid 2021-09-20 16:58:13 +02:00