btrfs-progs/tests/convert-tests
Qu Wenruo 4f3ccdd518 btrfs-progs: convert-test: Check if the ext2_save/image is read only
Old convert codes uses both 0400 permission and INODE_READONLY flag to
make the converted ext2 image readonly.

While new convert treat the inode just as normal inode, with no special
inode flag and uses 0600 permission.
This makes user able to modify converted image unintentionally and make
rollback fails.

This test case will test the regression.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-08-19 13:53:28 +02:00
..
001-ext2-basic btrfs-progs: tests: convert: separate ext2 tests 2016-06-03 16:53:27 +02:00
002-ext3-basic btrfs-progs: tests: fix filesytem type creation for convert tests 2016-06-22 15:52:17 +02:00
003-ext4-basic btrfs-progs: tests: fix filesytem type creation for convert tests 2016-06-22 15:52:17 +02:00
004-ext2-backup-superblock-ranges btrfs-progs: tests: 004-ext2-backup-superblock-ranges, use common helpers for image loop 2016-06-03 17:08:43 +02:00
005-delete-all-rollback btrfs-progs: tests: add 005-delete-all-rollback 2016-06-22 15:50:17 +02:00
006-large-hole-extent btrfs-progs: convert-test: Add test case for discontinuous hole extent 2016-07-04 13:44:58 +02:00
007-unsupported-block-sizes btrfs-progs: tests: add 007-unsupported-block-sizes 2016-07-15 01:25:12 +02:00
008-readonly-image btrfs-progs: convert-test: Check if the ext2_save/image is read only 2016-08-19 13:53:28 +02:00