btrfs-progs/tests/misc-tests
Qu Wenruo 3c7e75eefb btrfs-progs: tests: test case to make sure btrfstune rejects corrupted fs
Although btrfstune will already warn users to make sure the fs is not
corrupted, we can never trust end users.

If the target fs has transid error, btrfstune can cause further damage,
thus we need to make sure btrfstune can safely reject fs with transid
error, other than ignoring the problem.

The image is copied from fsck-tests/002, just override check_image() to
run "btrfstune -u" instead.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-09-20 12:26:20 +02:00
..
001-btrfstune-features
002-uuid-rewrite
003-zero-log
004-shrink-fs btrfs-progs: tests: filter output for run_check_stdout 2020-05-04 20:48:42 +02:00
005-convert-progress-thread-crash btrfs-progs: tests: switch messages to _log 2019-07-26 17:46:42 +02:00
006-image-on-missing-device
007-subvolume-sync
008-leaf-crossing-stripes
009-subvolume-sync-must-wait btrfs-progs: tests: filter output for run_check_stdout 2020-05-04 20:48:42 +02:00
010-convert-delete-ext2-subvol
011-delete-missing-device
012-find-root-no-result btrfs-progs: tests: misc: find-root and select-super are internal commands 2020-03-03 19:58:55 +01:00
013-subvolume-sync-crash btrfs-progs: tests: filter output for run_check_stdout 2020-05-04 20:48:42 +02:00
014-filesystem-label
015-dump-super-garbage
016-send-clone-src
017-recv-stream-malformatted
018-recv-end-of-stream
019-receive-clones-on-mounted-subvol
020-fix-superblock-corruption btrfs-progs: tests: misc: find-root and select-super are internal commands 2020-03-03 19:58:55 +01:00
021-image-multi-devices btrfs-progs: tests: fix misc/021 when restoring overlapping stale data 2019-10-14 17:28:02 +02:00
022-filesystem-du-on-empty-subvol
023-device-usage-with-missing-device
024-inspect-internal-rootid btrfs-progs: tests: filter output for run_check_stdout 2020-05-04 20:48:42 +02:00
025-zstd-compression
026-image-non-printable-chars
027-subvol-list-deleted-toplevel
028-superblock-recover btrfs-progs: tests: drop keyword function 2019-07-04 15:36:01 +02:00
029-send-p-different-mountpoints btrfs-progs: misc-tests/029: exit manually after run_mayfail() 2019-07-03 20:49:04 +02:00
030-missing-device-image
031-qgroup-parent-child-relation btrfs-progs: tests: filter output for run_check_stdout 2020-05-04 20:48:42 +02:00
032-bad-item-ptr
033-filename-length-limit
034-metadata-uuid btrfs-progs: lots of typo fixes (codespell) 2020-03-31 18:37:38 +02:00
035-receive-common-mount-point-prefix
036-receive-dump-invalid-stream
037-fi-show-on-new-file
038-backup-root-corruption btrfs-progs: tests: fix path of btrfs-corrupt-block 2020-03-03 19:58:53 +01:00
039-receive-clone-from-current-subvolume btrfs-progs: misc-tests/039: cleanup test 2020-03-31 18:37:36 +02:00
040-subvolume-delete-default btrfs-progs: tests: add case for deleting default subvolume 2020-10-02 20:12:08 +02:00
041-subvolume-delete-during-send btrfs-progs: tests: add case for send vs subvolume deletion 2020-10-02 20:12:08 +02:00
042-inspect-internal-logical-resolve btrfs-progs: tests: test logical-resolve in various scenarios 2021-01-18 17:49:22 +01:00
043-subvolume-set-default-toplevel btrfs-progs: tests: set toplevel subvolume as default when specified as 0 2021-01-18 17:49:23 +01:00
045-receive-check-mount-type btrfs-progs: receive: fix btrfs_mount_root substring bug 2021-02-19 16:29:40 +01:00
046-seed-multi-mount btrfs-progs: tests: fix quoting of sudo helper in misc/046-seed-multi-mount 2021-03-15 15:40:54 +01:00
047-raid5-convert btrfs-progs: balance: fix raid56 warning for other profiles 2021-03-23 17:04:22 +01:00
048-image-restore-mount btrfs-progs: tests: add test to ensure the restored image can be mounted 2021-05-06 16:41:47 +02:00
049-btrfstune-transid-mismatch btrfs-progs: tests: test case to make sure btrfstune rejects corrupted fs 2021-09-20 12:26:20 +02:00