btrfs-progs/tests/fsck-tests
Qu Wenruo 013d80648c btrfs-progs: tests: check warning for seed and sprouted filesystems
Previously we had a bug that btrfs check would report false warning for
a sprouted filesystem.

So this patch will add a new test case to make sure neither seed nor
and sprouted filesystem will cause such false warning.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-04-25 19:06:06 +02:00
..
001-bad-file-extent-bytenr btrfs-progs: fsck-test: enable lowmem repair for case 001 2019-04-16 09:04:25 +08:00
002-bad-transid btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
003-shift-offsets btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
004-no-dir-index btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
005-bad-item-offset btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
006-bad-root-items btrfs-progs: tests: switch messages to _log 2019-07-26 17:46:42 +02:00
007-bad-offset-snapshots btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
008-bad-dir-index-name btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
009-no-dir-item-or-index btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
010-no-rootdir-inode-item btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
011-no-inode-item btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
012-leaf-corruption btrfs-progs: tests: update fsck/012-leaf-corruption image 2020-05-29 12:42:49 +02:00
013-extent-tree-rebuild btrfs-progs: tests: fix path of btrfs-corrupt-block 2020-03-03 19:58:53 +01:00
014-no-extent-info btrfs-progs: tests: add image with no extent with normal device size 2018-06-07 16:37:32 +02:00
016-wrong-inode-nbytes btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
017-missing-all-file-extent btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors 2017-10-16 20:33:00 +02:00
018-leaf-crossing-stripes btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
019-non-skinny-false-alert btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
020-extent-ref-cases btrfs-progs: fsck-tests: Move reloc tree images to 020-extent-ref-cases 2018-12-05 15:46:28 +01:00
021-partially-dropped-snapshot-case btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
022-qgroup-rescan-halfway btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
023-qgroup-stack-overflow btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
024-clear-space-cache btrfs-progs: tests: fix fsck/024 to work with free-space-tree 2021-10-06 16:49:25 +02:00
025-file-extents btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
026-bad-dir-item-name btrfs-progs: tests: check: Make 026-bad-dir-item-name verify if btrfs-check can also repair 2019-01-15 18:42:13 +01:00
027-bad-extent-inline-ref-type btrfs-progs: fsck-tests: 027/bad_extent_inline_ref_type 2017-11-14 15:59:00 +01:00
028-unaligned-super-dev-sizes btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
029-valid-orphan-item btrfs-progs: tests: Add test case with valid orphan inode 2018-03-30 22:15:54 +02:00
030-reflinked-prealloc-extents Btrfs-progs: add fsck test for filesystem with shared prealloc extents 2018-03-30 22:15:54 +02:00
031-metadatadump-check-data-csum btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
032-corrupted-qgroup btrfs-progs: check: warn users about the possible dangers of --repair 2019-11-22 19:07:20 +01:00
033-lowmem-collission-dir-items btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
034-bad-inode-flags btrfs-progs: fsck-tests: add test case to check symlinks with bad flags 2018-06-07 16:37:38 +02:00
035-inline-bad-ram-bytes btrfs-progs: tests: update fsck/035-inline-bad-ram-bytes image 2020-05-29 12:42:49 +02:00
036-bad-dev-extents btrfs-progs: tests: Add test image for dev extents beyond device boundary 2019-01-15 18:42:13 +01:00
036-rescan-not-kicked-in btrfs-progs: tests: fix typos in test comments 2018-11-26 17:53:43 +01:00
037-freespacetree-repair btrfs-progs: tests: fsck/037-freespacetree-repair workaround for missing kernel fix 2020-08-28 18:30:55 +02:00
038-missing-one-file-extent btrfs-progs: tests: add case for inode lose one file extent 2019-04-16 09:04:25 +08:00
039-bad-inode-mode btrfs-progs: tests: Add new images for inode mode repair functionality 2019-11-18 19:21:07 +01:00
040-compressed-nodatasum btrfs-progs: tests: detecting compressed extent without csum 2019-05-17 12:32:38 +02:00
041-invalid-root-generation btrfs-progs: fsck-tests: Add test case for invalid root generation 2019-09-04 16:06:55 +02:00
042-half-dropped-inode btrfs-progs: fix a bunch of typos 2022-02-01 18:40:53 +01:00
043-bad-inode-generation btrfs-progs: tests: add test image to fsck/043 for inode transid repair 2020-08-31 17:09:55 +02:00
044-invalid-extent-item-generation btrfs-progs: tests: enhance invalid extent item generation test cases 2020-12-10 17:10:30 +01:00
045-overlap-csum-item btrfs-progs: tests: add test image for overlapping csum item 2020-05-28 19:59:38 +02:00
046-ino-cache-clean btrfs-progs: tests: test check --clear-ino-cache 2020-12-16 17:08:53 +01:00
047-dev-bytes-used btrfs-progs: tests/fsck: add test case to make sure btrfs check can reset btrfs_dev_item::bytes_used 2021-06-19 22:07:49 +02:00
049-dir-hard-link btrfs-progs: tests: check nlinks for directories 2021-07-30 15:52:57 +02:00
050-invalid-block-group-used btrfs-progs: tests: add image with a corrupt block group item 2021-08-25 15:38:54 +02:00
051-invalid-super-bytes-used btrfs-progs: tests: add image with an invalid super bytes_used 2021-08-25 15:43:13 +02:00
052-init-csum-tree btrfs-progs: tests: add test case for init-csum-tree 2022-02-01 18:41:19 +01:00
053-bad-metadata-level btrfs-progs: tests/fsck: add test image with invalid metadata backref level 2022-02-01 18:42:02 +01:00
054-orphan-directory btrfs-progs: tests: add a test to check orphaned directories 2022-03-08 18:47:21 +01:00
055-super-num-devs-mismatch btrfs-progs: tests: add test case for super num devs mismatch 2022-03-24 00:36:13 +01:00
057-seed-false-alerts btrfs-progs: tests: check warning for seed and sprouted filesystems 2022-04-25 19:06:06 +02:00